Example in Python:
element = driver.find_element_by_id("myid")
Example in WebDriverJS/Protractor:
var elm = $("#myid");
I personally used this workaround without fully understanding why I have to do it and what problems it can lead to.
- You must login to post comments