As i came across this code,
driver.findElement(By.name("xxx")).sendKeys(
Keys.ZENKAKU_HANKAKU);
so wanted to know why and when to use this kind of key.
Software Quality Assurance & Testing Stack Exchange is a question and answer site for software quality control experts, automation engineers, and software testers. It only takes a minute to sign up.
Sign up to join this communityThis is a Japanese modifier key which will change between Hankaku (half-width) and Zenkaku (full-width) characters. To try and visualise this:
Hankaku - 12345
Zenkaku - 1 2 3 4 5
As to which key it is bound to on the keyboard, F9 and F10 are common bindings. F10 will change from Zenkaku to Hankaku, and F9 from Hankaku to Zenkaku.
Source - Wikipedia