Answer the question
In order to leave comments, you need to log in
How can I move the mouse cursor to the specified coordinates in Selenium?
Good afternoon, I use selenium + python
, is it possible to move the mouse cursor to the specified coordinates?
now I'm doing through the cursor offset ActionChains move_by_offset, but I'm not very happy with it.
I dug into the selenium code and found such a class
from selenium.webdriver.common.actions.pointer_actions import PointerActions
and the move_to_location method,
but I can’t figure out how to pass driver to it and call it correctly.
Thanks in advance for your reply
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