question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: DevToolsActivePort File doesn't exist

See original GitHub issue

Bug report

Not able to run chrome directconnect. WebDriverError: unknown error: DevToolsActivePort file doesn’t exist. About the same issue as the log here https://github.com/SeleniumHQ/selenium/issues/5964

  • Node Version: 6
  • Protractor Version: 5.3.1
  • Angular Version: N/A
  • Browser(s): chrome
  • Operating System and Version windows 10
  • Your protractor configuration file
let config = {
    allScriptsTimeout: 11000,
    specs: [
        './specs/**.spec.ts'
    ],
    capabilities: {
        'browserName': 'chrome',
        'useAutomationExtension': false,
        'args': ['--disable-gpu','-disable-dev-shm-usage','--no-sandbox','-disable-popup-blocking','--start-maximized','--disable-web-security','--allow-running-insecure-content','--disable-infobars']
    },
    params: {
        basePath
    },
    directConnect: true,
    baseUrl:  basePath,
    framework: 'jasmine',
    jasmineNodeOpts: {
        showColors: true,
        defaultTimeoutInterval: 30000,
        print: function () { }
    },
    useAllAngular2AppRoots: true,
    beforeLaunch: function () {
        require('ts-node').register({
            lazy: true
        });
    }
};

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

12reactions
JonWallstencommented, Jun 19, 2018

@CalebRouleau I’ve tried with Puppeteer@1.1.1 (Chrome 66) and Puppeteer@1.5.0 (Chrome 69) And the following flags: ['--headless', '--disable-gpu', '--no-sandbox', '--disable-extensions', '--disable-dev-shm-usage']

11reactions
GonzaloCYcommented, May 14, 2019

I solved the issue by using:

webdriver-manager start

instead of:

sudo webdriver-manager start

Read more comments on GitHub >

github_iconTop Results From Across the Web

unknown error: DevToolsActivePort file doesn't exist while ...
As per my observation DevToolsActivePort file doesn't exist is caused when chrome is unable to find its reference in scoped_dirXXXXX folder.
Read more >
Troubleshooting DevToolsActivePort file doesn't exists
TestProjects support Chrome versions 77 and newer, make sure the Chrome version installed on your machine (including other users) is suitable.
Read more >
How to resolve the "DevToolsActivePort file doesn't exist" error ...
Issue: The user is facing the “DevToolsActivePort file doesn't exist” error message with KRE execution on a Linux machine and the project is ......
Read more >
DevToolsActivePort file doesn't exist - ChromeDriver through ...
The issue still happens on my system: Linux Ubuntu 16, Chrome driver 74. 2019-03-14 10:39:25,305 ERROR [Log] Unexpected exception while setting browser driver: ......
Read more >
[Solved] Error: DevToolsActivePort file doesn't exist
[Solved] Error: DevToolsActivePort file doesn't exist · 1. Install pip. 1, sudo apt install python3-pip · 2. Install Selenium. 1, pip install ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found