How To Switch To Iframe, Not Working In Selenium
I am trying to click on an object within the iframe, but I can't switch frames for some reason. This is the code that I am using to switch frames: driver.switch_to.frame(frame_refe
Solution 1:
.find_elements_by_xpath
return list, remove s
from it, what you want is .find_element_by_xpath
to select first element.
Post a Comment for "How To Switch To Iframe, Not Working In Selenium"