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

Implement capabilities for Drag n' Drop #487

Open
jrandolf opened this issue Jul 12, 2023 · 0 comments · May be fixed by #504
Open

Implement capabilities for Drag n' Drop #487

jrandolf opened this issue Jul 12, 2023 · 0 comments · May be fixed by #504
Labels
input Input module needs-discussion Issues to be discussed by the working group

Comments

@jrandolf
Copy link
Contributor

Background

Currently, Drag n' Drop is not working on any implementation of WebDriver BiDi according to WPT tests.

Problem

When a drag is initiated by a WebDriver BiDi mouse action, all inputs get ignored (yes, even mouse up), which makes the test state invalid.

Solutions

There are a couple solutions to this.

Add a dragAndDrop capability to session.CapabilitiesRequest and session.NewResult

This would hint to clients whether a given WebDriver Bidi implementation supports drag n' drop. This would imply drag n' drop must be disabled in their browser.

Pros

  • The test state can never be invalid.

Cons

  • Implementations may never get around to implementing drag n' drop.

Do nothing.

Pros

  • Implementations must get around to implementing drag n' drop.

Cons

  • The test state can be invalid.
@jrandolf jrandolf linked a pull request Jul 28, 2023 that will close this issue
@OrKoN OrKoN added the needs-discussion Issues to be discussed by the working group label Jul 28, 2023
@whimboo whimboo added the input Input module label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
input Input module needs-discussion Issues to be discussed by the working group
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants