FireWatir TextField set : Very Slow

后端 未结 2 969
别跟我提以往
别跟我提以往 2021-01-21 21:05

When calling the set method of a text_field in ruby, the text is being entered at a very slow rate in the browser, roughly at 1 character / second.

Environm

2条回答
  •  无人共我
    2021-01-21 21:43

    It is a known bug: WTR-397

    Workaround is to use watir-webdriver or to use value= instead of set. Example:

    browser.text_field(how => what).value= "string"
    

提交回复
热议问题