Selenium: Runtime.executionContextCreated has invalid 'context':

前端 未结 5 902
南方客
南方客 2021-01-04 09:11

I looked the similar question here Protractor / Selenium Webdriver : Runtime.executionContextCreated has invalid 'context' and here BUG-1473, but I cannot get the an

相关标签:
5条回答
  • 2021-01-04 09:32

    I had similar problem. After I downgrade my chrome driver version from 2.9 to 2.27, it works. Maybe you could try to downgrade it.

    0 讨论(0)
  • 2021-01-04 09:41

    You have to pass your chromedriver path to the Chrome() constructor

    path = '/path/to/chromedriver'
    
    driver = webdriver.Chrome(path)
    

    please let me know if it is fixed. Also it is advised to try with latest chromedriver and raise issue in case if any.

    0 讨论(0)
  • 2021-01-04 09:41

    As of Mar 2018, Latest release of chrome webdriver is 2.37. Refer Chromium ChromeDriver downloads page where you can get the latest stable releases . What you might be using is an unstable dev release. Documentation should always be the first step of debugging and not the stack overflow

    0 讨论(0)
  • 2021-01-04 09:45

    Update the chromedriver version and after that browser launched successfully.

    0 讨论(0)
  • 2021-01-04 09:47

    i had similar issue , i used chrome driver version 2.25 for mac and it worked.

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