filmov
tv
Selenium Python Tutorial #39 - How to Perform Drag and Drop in Selenium

Показать описание
In this Selenium Python Tutorial, we will learn how to perform drag and drop in selenium python. ActionChains class in Python Selenium API provide methods which can be used to automate low level interactions such as mouse movements, mouse button actions, key press, and context menu interactions. We will be using ActionChains class to perform drag and drop in Selenium Automation.
🔸 drag_and_drop(source, target): Holds down the left mouse button on the source element,
then moves to the target element and releases the mouse button.
Args:
source: The element to mouse down.
target: The element to mouse up.
🔸 drag_and_drop_by_offset(source, xoffset, yoffset): Holds down the left mouse button on the source element, then moves to the target offset and releases the mouse button.
Args:
source: The element to mouse down.
xoffset: X offset to move to.
yoffset: Y offset to move to.
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:
🔸 drag_and_drop(source, target): Holds down the left mouse button on the source element,
then moves to the target element and releases the mouse button.
Args:
source: The element to mouse down.
target: The element to mouse up.
🔸 drag_and_drop_by_offset(source, xoffset, yoffset): Holds down the left mouse button on the source element, then moves to the target offset and releases the mouse button.
Args:
source: The element to mouse down.
xoffset: X offset to move to.
yoffset: Y offset to move to.
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:
Комментарии