w3c / webdriver

Remote control interface that enables introspection and control of user agents.
https://w3c.github.io/webdriver/
Other
679 stars 194 forks source link

[Feature]: mimic mouse human gestures like NodeJS/pptr Ghost-Cursor #1731

Open Mevatlave-Kraspek opened 1 year ago

Mevatlave-Kraspek commented 1 year ago

Feature and motivation

For pptr, they have Ghost Cursor to mimic mouse human gestures.

It should be neat to have this feature, based on Bezier curves

Usage example

from selenium.foobar import CreateCursor
from selenium import webdriver

driver = webdriver.Chrome()
cursor = createCursor(driver)
cursor.click(selector)

Related: https://github.com/SeleniumHQ/selenium/issues/11824