WebDriverException: unknown error: DevToolsActivePort file doesn't exist while trying to initiate Chrome Browser

前端 未结 29 3497
旧巷少年郎
旧巷少年郎 2020-11-21 07:11

I am trying to launch chrome with an URL, the browser launches and it does nothing after that.

I am seeing the below error after 1 minute:

Unable to         


        
29条回答
  •  闹比i
    闹比i (楼主)
    2020-11-21 07:32

    I solve this problem by installing yum -y install gtk3-devel gtk3-devel-docs", it works ok

    My work env is :

    Selenium Version 3.12.0
    ChromeDriver Version v2.40
    Chrome 68 level
    

    Before:
    enter image description here enter image description here

    After:
    enter image description here enter image description here

提交回复
热议问题