Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add abstraction for "wheel" input source actions #618

Open
lread opened this issue Aug 12, 2024 · 0 comments
Open

Add abstraction for "wheel" input source actions #618

lread opened this issue Aug 12, 2024 · 0 comments

Comments

@lread
Copy link
Collaborator

lread commented Aug 12, 2024

Problem/Opportunity

The W3C WebDriver spec describes a "wheel" input source for actions.
Etaoin has abstractions for "key" and "pointer" input sources, but not "wheel".

Proposed Solution

Study the spec, at the very least, describe the "wheel" input source in the docs, and if it makes sense, provide abstractions.

Additional context

Etaoin already has scroll* functions which are implemented by sending JavaScript to the browser.
This seems to work fine. Adding wheel actions doesn't necessarily mean deleting these scroll functions nor their implementation.

Current browser/driver support for actions using wheel.

Action

I can take a peek sometime.
It would probably also be nice to add a simpler example of using actions in the user guide.
It dives into a complex example straight away and implies actions are complex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant