-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
contextClick() does not trigger "contextmenu" event #660
Comments
Log with Firefox 52.0.2.6291 32bit and geckodriver 0.15:
|
With FF 54.0.1 (32-bit) and geckodriver 0.18.0 and selenium 3.5.0, I am having the problem that ContextClick does not do anything. No error, no exception, only the context menu bound on right-click does not show. However, it shows in Chrome so my code is correct. Seeing this issue was reported in April and perhaps it's the same thing I encountered, I am writing here, please don't consider it as another "me-too" comment, there is information that it still doesn't work in most recent versions. |
This got recently fixed by bug 1370403 and is available in Firefox 57 Nightly builds now. Not sure yet if we might want to uplift this feature to 56.0 or not. @mjzffr could give more info on it. |
I would vote for merging into 56.0! 👍 |
Oh we uplifted it 8 days ago. So it should be already a part of the last two 56.0 beta releases. |
Cool! Overlooked that. |
@codingphil Updating the version |
@prabhurohith Firefox 47 is not Nightly, and also not supported by geckodriver. |
@andreastt @prabhurohith mentioned 57.0a1 (not 47). I retested with 56.0b10 and 57.0a1 (2017-09-12) (64-Bit) and the unit test above passes. |
@prabhurohith Here you can download all old Firefox releases: |
@codingphil Logs for context click and click Context click logs 1505304690662 webdriver::server DEBUG -> POST /session/0cd983d4-1a30-4f0c-86af-9680078fed77/element {"value":".name_column","using":"css selector"} Click Action logs below 1505304753354 webdriver::server DEBUG -> POST /session/0cd983d4-1a30-4f0c-86af-9680078fed77/element {"value":".name_column","using":"css selector"} |
@prabhurohith I just ran the code from the original issue entry in the section "Steps to reproduce" above. |
@prabhurohith btw: I'm using the current version of geckodriver: 0.18 |
Thanks @codingphil But still the context click doesn't happen Updated the ff version |
@prabhurohith Like I said, Firefox 46 is not supported. |
@prabhurohith Could you please provide a way to reproduce the issue like I did in the original issue entry?
Can you reproduce the issue with the code from my original issue entry above? |
Working on 56.0b8 (64-bit). |
How does it work for you? What code do you use? new Actions(driver).contextClick(findElement([...])).perform() |
@Zap4ick you missed to give any details in what is not working for you. Please provide a trace level log for your failure. |
Sorry I've already updated to 57.0b5 and it works now without any code change. So I think it wasn't merged in final 56 version. |
It was as the following changeset shows: https://hg.mozilla.org/releases/mozilla-beta/rev/9c5b86d50b9b. But anyway, it seems to work now. |
I have this problem on firefox 58 on linux, with the foxy gestures addon installed. |
@GianniGi please do not hi-jack closed issues. If there is a problem please raise it as a new issue and also add the trace level log, so that we could see what might gone wrong. Thanks. |
When calling contextClick() via the Actions API the "contextmenu" event (oncontextmenu) is not triggered.
Maybe related to #233.
Firefox Version
53.0 (64bit)
geckodriver 0.15
Tested also with FF 52.0.2.
Platform
Windows 10 Anniversary Update (Redstone 1)
Steps to reproduce
A minimal HTML file:
SimpleClickEvents.zip
A [trace level log]
The text was updated successfully, but these errors were encountered: