I have some tests that use Geckodriver to run a test in Firefox. Today, Firefox updated to version 50 on my development machine. I saw this error:
System.NotImplementedException : GET /session/ffffffff-ffff-ffff-ffff-ffffffffffff/element//attribute/ did not match a known command
I updated to geckodriver-v0.11.1-win64
and selenium-dotnet-strongnamed-3.0.0
(for .NET 4.0), thinking maybe Selenium and GeckoDriver just needed to sync up with the latest version of Firefox.
Now, when I run this test, I see two things:
A breakpoint has been reached. (0x80000003) occurred in the application at location 0x6fa3ed40.
LightIntegration.Browser.QUnit.Firefox:
OpenQA.Selenium.WebDriverException : Cannot find a file named '...\bin\Debug\getAttribute.js' or an embedded resource with the id 'getAttribute.js'.
I checked, and sure enough, there's no file with that name. There never has been. Was I supposed to download this file somewhere?
(For what it's worth, the same test passes when run in Chrome.)
As @FlorentB. suggested, my version of Selenium is missing that exact file as a resource.
On the left is selenium-dotnet-strongnamed-3.0.0.zip, which I need to use because we strong name our application.
On the right is selenium-dotnet-3.0.0.zip
For some reason, getAttribute.js
and isDisplayed.js
are not included in the resources of the strong-named WebDriver (3.0.0.0)
assembly.
User contributions licensed under CC BY-SA 3.0