Skip to content

[Proposal] Implement missing actions #27

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

Closed
1 task done
ppasupat opened this issue Mar 6, 2023 · 0 comments · Fixed by #46
Closed
1 task done

[Proposal] Implement missing actions #27

ppasupat opened this issue Mar 6, 2023 · 0 comments · Fixed by #46

Comments

@ppasupat
Copy link
Collaborator

ppasupat commented Mar 6, 2023

Proposal

Implement the missing actions.

Motivation

Some actions cannot be performed, preventing some environments from being solved:

  • Dragging
  • Scroll wheel
  • Emit keys (e.g., Ctrl+C)

Pitch

Implement such actions in Selenium.

Alternatives

Most of these actions look doable but could run into issues:

  • Getting observation in the middle of a mouse drag might cause issues.
  • Scroll wheel needs an arbitrary scroll offset.
  • Clipboard might not work or might interfere with the system clipboard (since we're not sandboxing the environment).

There are probably hacks for these issues (e.g., replace clipboard copy/paste with JS calls). The worst case scenario is that they cannot be done, in which case we might need to consider moving away from Selenium.

Checklist

  • I have checked that there is no similar issue in the repo (required)
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

Successfully merging a pull request may close this issue.

1 participant