I am automating a web application. I found that some commands bring up dialog boxes that have controls that are visible, but not accessible.
How to wait for the element to be actually accessible, and not just visible?
Below is the code that I tried, but it is not working out for me:
try:
print "wait for the element"
element = WebDriverWait(driver, 10).until(lambda driver : driver.find_element_by_id("Btn_1"))
print "not found!"
finally: print 'yoo'