Selenium Python Tutorial #38 - How to Perform Right Click & Double Click

preview_player
Показать описание
In this Selenium Python Tutorial, we will learn how to perform right click and double click in Selenium Python. Selenium Python API provides ActionChains class which is used to automate low level interactions like right click and double click.

🔸 context_click(on_element=None): Performs a context-click (right click) on an element.
Args: on_element: The element to context-click. If None, clicks on current mouse position.

🔸 double_click(on_element=None): Double-clicks an element.
Args: on_element: The element to double-click. If None, clicks on current mouse position.

Help me in spreading the knowledge, please hit LIKE, SHARE, and SUBSCRIBE for the latest tutorials. More tutorial playlists below:

🔶 ENROL IN MANY FREE TRAININGS ON RCV ACADEMY PORTAL 🔶

🔶 FOLLOW US ON TWITTER 🔶

🔶 LIKE US ON FACEBOOK 🔶

🔶 OUR TUTORIAL WEBSITES 🔶

🔶 GET MY TRAININGS ON UDEMY 🔶

#SeleniumPythonTutorial #PythonSelenium #SeleniumPython #PythonSeleniumTutorial #SeleniumWebdriver #TestAutomation #SoftwareTesting #RcvAcademy #SoftwareTestingMentor

Join this channel to get access to perks:
Рекомендации по теме
Комментарии
Автор

I can’t get the xpath of “copy” in the submenu. If i manually right click on the element I can’t select the xpath of copy.

tycho
Автор

how to right click and navigate through context menu?

sidddharthparmar