Selenium WebDriver - FirefoxDriver error: Failed to start up socket within 45000

后端 未结 17 2386
滥情空心
滥情空心 2020-12-01 13:03

I\'m getting this error:

tests.IntegrationTests.Selenium.RegisterAndLogin (TestFixtureSetUp):
SetUp : OpenQA.Selenium.WebDriverException : Failed to start up         


        
17条回答
  •  自闭症患者
    2020-12-01 13:40

    1) Downgrade your firefox to < 19 because if i remember correctly WebDriver 2.33 support maxim Firefox 19

    2)

    FirefoxProfile profile = new FirefoxProfile();
    profile.Port = 9966;
    Global.Driver = new FirefoxDriver(profile);
    

    P.S. I'm using firefox 16 to not have this issue

提交回复
热议问题