Answer the question
In order to leave comments, you need to log in
How to get object coordinates with Selenium using python?
Hello!
I need to click on an object, but without using Selenium (in this case, the site understands that it is a bot).
I use pyautogui for this. Sometimes the target button is located a dozen pixels to the side.
I know that Selenium has a my_button.location method in its arsenal. But it gives out not what I need (the origin is the upper left corner).
Or maybe I'm misinterpreting the coordinates received from Selenium?
Tell me please :)
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