So, this button has no id/name and I've tried xpath, class name, CSS selector, etc
Here is the HTML code:
Thanks in advance.
Join Stack Overflow to learn, share knowledge, and build your career.
So, this button has no id/name and I've tried xpath, class name, CSS selector, etc
Here is the HTML code:
Thanks in advance.
Be sure to switchTo the iframe that contains this button! Then I think that this CSS path should work:
div.submit-and-reset-wrapper button.continue
You can try a kind of ugly hack:
something like:
all_span_elements = driver.find_elements_by_tag_name("span")
for span_element in all_span_elements:
if "Begin Lesson" in span_element.text:
span_element.click()