How to not wait for something with Watir-Webdriver

前端 未结 3 660
不思量自难忘°
不思量自难忘° 2021-01-23 10:26

So I\'m writing a watir-webdriver script, and my app is using javascript to present a modal window that I want to interact with. When I click the element that presents the modal

3条回答
  •  别那么骄傲
    2021-01-23 11:12

    The answer ended up being, and then handling the necessary waiting manually

    element.focus
    element.send_keys :return
    

提交回复
热议问题