convert at symbol (“@”) to CharSequence

妖精的绣舞 提交于 2019-12-01 19:33:42

The following should work: String email = "test\u0040example.com";

Apologies for misreading the question earlier.

I think you will have to call sendKeys using the proper values from the Keys enum to simulate the way you get your at-sign. Use Keys.ALT with your "v" in a chord:

sendKeys(Keys.chord(Keys.ALT, "v"));
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!