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

Firefox WebDriver getting #2423

Closed
maninwindow opened this issue Jul 4, 2016 · 5 comments
Closed

Firefox WebDriver getting #2423

maninwindow opened this issue Jul 4, 2016 · 5 comments

Comments

@maninwindow
Copy link

RemoteWebDriver WebDriver;
Actions actions = new Actions(WebDriver);
actions.ContextClick(searchItem).Perform();

Right click action code is working well on Chrome and IE, but for Firefox getting exception below:

firefoxexception

It seems method Perform(); is not implemented for Firefox.
Have anyone had similar issue?

@p00j4
Copy link

p00j4 commented Jul 4, 2016

@maninwindow it works with firefox as well, just confirmed again on firefox 46 with webdriver 2.53
which one is yours?

@maninwindow
Copy link
Author

@p00j4 I am using Firefox 47.0.1 and WebDriver 2.54. Have you tried Perform() method in C#? I am having exception like above as soon as my code executes that line. I am using geckodriver,but i don't think there is anything wrong related to the geckodriver, it has been working well.

@lukeis
Copy link
Member

lukeis commented Jul 4, 2016

This is a duplicate issue of #2285

@lukeis lukeis closed this as completed Jul 4, 2016
@SDETQATestAutomation
Copy link

I am getting the same issue on using new Actions(driver).moveToElement(tempHeaderElement).perform();

Log:
org.openqa.selenium.UnsupportedCommandException: POST /session/58fec78f-ac07-4815-87ab-2bcd6686a200/moveto did not match a known command
Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'
System info: host: 'DC4-QVM-TRBW-02', ip: '10.111.106.196', os.name: 'Windows Server 2012', os.arch: 'amd64', os.version: '6.2', java.version: '1.8.0_60'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAFsjckkAAAAAAAAAAAAAAAAHAAAAdXNlci5qc61XTW/jNhC991csfGqBmE023cv25F0nQIFgUyQbZA8BCJoaWYwpkuVQlv3vO6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6Z2ALjOKWvYimaDtzbtA7L32pFP3aPY/bwmoaE3kMaasTt+3O0Uy1B9J82ivgoCXhRfK8uT/WoZlduSC+WwGlWNCc6VMfkcU+oPle5GijfJn38idq1E/dMW7lITeQsNCEIL4sNtoeiKFnDXJZVpTsLHdvIf6pWk0CcRcc93FsqtFdZd4M80u9D4b7unpAbEo5b5SI2hGpgdNvYnlDlzSg8PAPvDFiYxr/tgEXqXZ3qpjupixTpNtrRANuMLmnQ+st8bcbZ82reClRO1x4cHtJi6JsZhqdOkVEdzJyn+ndP5ln+iq3PmUDcHRwnmiZRujqQQmsYgj/d0mhGkwXIxbSh8Zfmn/fPUExkmYppFQOtvvPq/V+v3NrO53FxcyXpbe47gpIijikifs6Ujhwxal4EfWKc2XFtT3yXUrQFEk1xbn7cDAvsUbJbrtMtOjRdcRRvVR4OErwdvuMljLhLV6mB6XurnDrHyjUD4nYu/hdQSwcIZ7FvAMMEAAA5EQAAUEsBAhQAFAAICAgAWyNySWexbwDDBAAAOREAAAcAAAAAAAAAAAAAAAAAAAAAAHVzZXIuanNQSwUGAAAAAAEAAQA1AAAA+AQAAAAA}, appBuildId=20161104212021, version=, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=8104, browserVersion=50.0, platformVersion=6.2, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=windows_nt}]

@maninwindow
Copy link
Author

@ranjprashant Actions class could not be used on Firefox. You should pick up some other approach to achieve it.

@lock lock bot locked and limited conversation to collaborators Aug 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants