I'm little bit struggling to find the correct way to perform a right click.
Here is a sample of my code:
click_Menu = driver.find_element_by_id("Menu")
All the imports are there.And
print(click_Menu.text) => returns "Menu", so the element has been found
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: element is not attached to the page document
I tried to add
time.sleep() but the result is the same.
Any ideas please ?