Repository navigation
Set proper button value in WebDriver - ElementClick command - #36871
Merged
Merged
Conversation
yezhizhen
reviewed
May 6, 2025
Member
There was a problem hiding this comment.
servo/components/shared/embedder/input_events.rs
Lines 64 to 73 in 8b05b74
Actually neither need to change input_events.rs nor actions.rs. The convresion from integer to MouseButton is already handled by From<u16> trait.
longvatrong111
force-pushed
the
element-click-button
branch
from
May 6, 2025 06:37
be23f44 to
3823ff6
Compare
longvatrong111
commented
May 6, 2025
yezhizhen
reviewed
May 6, 2025
longvatrong111
force-pushed
the
element-click-button
branch
from
May 6, 2025 06:51
3823ff6 to
e69a6bf
Compare
xiaochengh
reviewed
May 6, 2025
xiaochengh
left a comment
Contributor
There was a problem hiding this comment.
Please also change the "Fixed: #XXX" line in the PR description into "For: #XXX". Otherwise this PR will auto-close the issue.
longvatrong111
force-pushed
the
element-click-button
branch
3 times, most recently
from
May 6, 2025 09:57
9063602 to
9f75e64
Compare
Signed-off-by: batu_hoang <[email protected]>
longvatrong111
force-pushed
the
element-click-button
branch
from
May 6, 2025 10:19
9f75e64 to
2004ec2
Compare
xiaochengh
approved these changes
May 7, 2025
Contributor
|
Looks good to me. Is it ready to merge now? |
Contributor
Author
Yes I have nothing to update for now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix ElementClick:
ElementClickshould useMouseButton::Leftto createaction.Testing: No pass test now. Tests still fail because of other issues.
For: #36658
cc: @xiaochengh , @yezhizhen , @PotatoCP