We have a Website with Vaadin technologie.
Test environment:
firefox-56.0.1
geckodriver: 0.20.0
Robotframework 4.1.1
selenium 3.141.0
Python 3.7.3
This Python script are working, robot can click on this locator.
GetElement.py
def Get_Element_hmenu():
Lib = BuiltIn().get_library_instance('SeleniumLibrary')
Driver = Lib.driver
host1 = Driver.find_element_by_xpath("//vaadin-context-menu-item[@id='FILE_MENU']")
return host1
test.robot<br>
<br>
${Element}= Get_Element_hmenu
Log ${Element}
Click Element ${Element}
If I update this components
Firefox 92.0.1
Geckodriver 0.30.0
After update doesn't work this code.
NoSuchElementException: Message: Unable to locate element: //vaadin-context-menu-item[@id='FILE_MENU']
Do you have any idea, what should I do ? Many Thanks
HTML Code enter image description here