How to click in a place with exaxt coordination in selenium python?

33 views Asked by At

I want to click in exactly pointed place in the image below.

I tried by actions in selenium. But it doesn't work like in below :

mouse_tracker = driver.find_element(By.ID, "mouse-tracker")
ActionChains(driver).move_to_element_with_offset(mouse_tracker, 8, 0)
        .perform()
1

There are 1 answers

0
Tal Angel On
mouse_tracker = driver.find_element(By.ID, "mouse-tracker")
ActionChains(driver).move_to_element_with_offset(mouse_tracker, 8, 0).click().perform()