I'm testing a web page. When I select something, then a pops up window appear
When the pops up window disappear automatically, then when I want to try click another button. Failed to click the button, though the button can be found.
Is there any method for python with selenium to get the button be focused? Since the last click is not happened
test link: https://www-01.ibm.com/products/hardware/configurator/americas/bhui/launchNI.wss
driver.get('www-01.ibm.com/products/hardware/configurator/americas/bhui/…)
driver.find_element_by_id("modelnumber").send_keys("7383AC1")
driver.find_element_by_name("submit").click()
element1 = driver.find_element_by_xpath("//label[contains(text(),'SLES for SAP Apps 8 Skt Virt Unlimited Subs Only 5Yr (5731SLX)')]")
id=element1.get_attribute('for')
driver.find_element_by_id(id).click()
driver.find_element_by_css_selector("img[alt=\"Continue\"]").click()
clickoperation is not calling the method. You have.clickinstead of.click(). Perhaps a typo but something to check at least.click()isn't working. Is there an error or an exception?