Selenium RemoteWebDriver c# - System.InvalidOperationException

前端 未结 3 542
梦谈多话
梦谈多话 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 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

提交回复
热议问题