Answer the question
In order to leave comments, you need to log in
Selenium cannot find the required element, what to fix?
I'm new to selenium, I'm writing an autotest. One of the parts - you need to go to another section. The whole point is that selenium finds the button in app-header-left, but not the one in app-header-right. Returns that the element could not be found.
Site code
My attempts:
input_voc = driver.find_element_by_xpath('//*[@id="app-header-right"]/button').click() - for left button, works
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question