Web Driver Curl Exception

后端 未结 4 1105
时光说笑
时光说笑 2021-01-17 21:18

Trying to use Codeception Web Driver and Selenium to emulate ajax through an acceptance test. I was using PhpBrowser but when I was having issues with Ajax my friend suggest

4条回答
  •  遇见更好的自我
    2021-01-17 22:11

    I had this problem and it turned out a new version of Firefox was incompatible with the addon that Selenium uses to communicate with Firefox.

    When you start your tests you should see the new Firefox window appear, and have 30 seconds or so before it goes away again. Within this time, if you type about:addons into the URL field and then click on "Extensions", you should see the "Firefox WebDriver" addon there, and it should be enabled.

    For me it was disabled as it was incompatible with the latest Firefox version. So the solution in this case was to either downgrade Firefox or wait for an updated Selenium.

    Note that the addon is only installed in the Firefox instance under test, so you won't see it when you use Firefox outside of Selenium.

提交回复
热议问题