Selenium geckodriver executes findElement 10 times slower than chromedriver (.Net)

后端 未结 3 474
南笙
南笙 2021-01-06 11:00

Sorry didn\'t find a similar question and maybe somebody can help.

Due to additional requirements we have to test our project not only with Chrome but with Firefox

3条回答
  •  天涯浪人
    2021-01-06 11:25

    Yep. You’re definitely hitting the performance issue that is part of .NET Core. It doesn’t happen on Chrome, IE, or Edge, because the driver executables for each of those browsers (unlike geckodriver) listen on both the IPv4 and IPv6 loopback addresses. If you were to specify “::1” as the host for geckodriver with .NET, the problem would disappear.

    Refer to https://github.com/SeleniumHQ/selenium/issues/6597

提交回复
热议问题