Bug: DevToolsActivePort File doesn't exist
See original GitHub issueBug 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:
- Created 5 years ago
- Reactions:2
- Comments:22 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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']
I solved the issue by using:
webdriver-manager start
instead of:
sudo webdriver-manager start