webdrivereventlistener

Java Wait for a HTML element and record the mouse click through WebDriverEventListener

旧时模样 提交于 2019-12-17 06:18:13
问题 I am developing a java application to help the construction of selenium tests and I would like to know if it is possible to force the application to wait for a click and after that click identify which element of html was clicked greetings 回答1: Answering your questions : If it is possible to force the application to wait for a click : Technically the invokation of click() is governed by the enduser who is also the owner of the script/program. Again functionally your script/program need not

Java Wait for a HTML element and record the mouse click through WebDriverEventListener

 ̄綄美尐妖づ 提交于 2019-11-28 14:30:11
I am developing a java application to help the construction of selenium tests and I would like to know if it is possible to force the application to wait for a click and after that click identify which element of html was clicked greetings Answering your questions : If it is possible to force the application to wait for a click : Technically the invokation of click() is governed by the enduser who is also the owner of the script/program. Again functionally your script/program need not wait for click() but need to wait for the intended WebElement to be interactable (i.e. clickable ). Similar to