Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Support contextmenu ("right click") events using sendEvent('contextmenu') #13870

Closed
wants to merge 1 commit into from

Conversation

Artur-
Copy link
Contributor

@Artur- Artur- commented Jan 9, 2016

No description provided.

Artur- added a commit to Artur-/ghostdriver that referenced this pull request Jan 9, 2016
@ariya
Copy link
Owner

ariya commented Jan 9, 2016

Do we have an issue filed for this yet? If not, please do so. See the contribution guidelines for the details.

Phantomjs issue
ariya#11429

Fixes ariya#11429 by allowing to send a "contextmenu" event. Intentionally
does not map a "click" event using "right" button into contextmenu event
because this would be inconsistent with how browsers work.

Related issue in Ghostdriver:
https://github.com/detro/ghostdriver/issues/125
@Artur-
Copy link
Contributor Author

Artur- commented Jan 9, 2016

Update commit message with link to PhantomJS issue: #11429 and Ghostdriver issue: https://github.com/detro/ghostdriver/issues/125

@vitallium
Copy link
Collaborator

LGTM

@Artur-
Copy link
Contributor Author

Artur- commented Jan 15, 2016

Is the Ghostdriver project (https://github.com/detro/ghostdriver/) still used in PhantomJS or should I include the Ghostdriver patch for the local copy in this PR also?

@vitallium
Copy link
Collaborator

@Artur- it's still used. But it's a bit outdated. We have included the streamline copy of Ghostdriver. All Ghostdriver related changes must be submitted against the original repo.
So please open appropriate pull request in the Ghostdriver repository.

@Artur-
Copy link
Contributor Author

Artur- commented Jan 17, 2016

Ok, detro/ghostdriver#472 is already there waiting for approval

@vitallium
Copy link
Collaborator

@Artur- Thanks! I'll merge current pull request in a few minutes.

@vitallium
Copy link
Collaborator

Sorry for taking it so long. Landed in master (20d673b) Thank you!

@vitallium vitallium closed this Jan 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants