Selenium RemoteWebDriver c# - System.InvalidOperationException

前端 未结 3 539
梦谈多话
梦谈多话 2020-12-10 05:16

I have a sample UI test project using v3.4.0 of Selenium.WebDriver.

Everything works fine when I run the tests against a local driver but I want to get things workin

相关标签:
3条回答
  • 2020-12-10 05:41

    Downgrading to 3.3.0 as it was suggested by Stephen may cause known issue. Try downgrading to v3.3.1 instead.

    You can get the v3.3.1 from here: http://selenium-release.storage.googleapis.com/index.html?path=3.3/

    0 讨论(0)
  • 2020-12-10 05:42

    V3.5.1 Fixes this issue.

    Upgrade your Selenium NuGET package using NuGET manager & your selenium-standalone jar.

    0 讨论(0)
  • 2020-12-10 06:01

    Downgrade to 3.3.0 until this issue gets resolved and a new release of Selenium Standalone Server is available (Recommended solution)

    Or

    1. Download the Solution
    2. Comment this line
    3. Build dotnet language bindings
      • Open command window in root directory
      • Run go //dotnet:release
      • And reference the binaries built in {root}/build/dotnet/dist

    Note: This workaround does NOT fix anything! It ignores the piece of selenium grid code that causes failure.

    Another note: Be aware that upgrading to Selenium 3.4 may require upgrading webdrivers as well

    0 讨论(0)
提交回复
热议问题