Selenium sendKeys are not sending all characters

前端 未结 7 1778
面向向阳花
面向向阳花 2021-02-02 15:29

I\'m using Java, Selenium, and Chrome for test automation. Our developers recently upgraded our UI from AngularJS to Angular2 (not sure if that matters). But since then, sendKey

7条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-02 16:22

    I was getting this error too in Java, Selenium. You might also be getting this error too while writing your codes - "sendKeys (CharSequence) from the type Webelement refers to the missing type charSequence"

    I tried varying the wait time and even typing extra characters before the main characters, they did not work.

    The simple trick I used was to change the Java Compiler version from JRE 9 to JRE 10.

提交回复
热议问题