title: WebDriverException: unknown error: DevToolsActivePort file doesn't exist
body: <p>I have an issue when trying a simple test with selenium avec chromedriver. I get the error org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn't exist</p>
  <p>This has been reported a couple of time on stackoveflow, i've read near all the answers without success at this time.
  I'm using a corporate managed computer without admin rights, using chrome 86.0.4240 with same version of chromedriver, selenium-standalone-server 3.9.1.</p>
  <p>The code used is below, with the trace of different tries according to different stackoverflow topics found.</p>
  <pre><code> public static void main(String[] args) {
    System.setProperty(&quot;webdriver.chrome.driver&quot;,&quot;C:\\Users\\&quot; + System.getProperty(&quot;user.name&quot;) + &quot;\\Downloads\\chromedriver_win32\\chromedriver.exe&quot;);
    
    ChromeOptions options = new ChromeOptions();
    Proxy proxy = new Proxy();
    proxy.setHttpProxy(&quot;127.0.0.1:9000&quot;);
    options.setCapability(&quot;proxy&quot;, proxy);
    
    // Exception in thread &quot;main&quot; org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn't exist
    // https://stackoverflow.com/questions/50642308/webdriverexception-unknown-error-devtoolsactiveport-file-doesnt-exist-while-t/51326137#51326137
    options.addArguments(&quot;--disable-dev-shm-usage&quot;); // overcome limited resource problems
    options.addArguments(&quot;start-maximized&quot;); // open Browser in maximized mode
    options.addArguments(&quot;disable-infobars&quot;); // disabling infobars
    options.addArguments(&quot;--disable-extensions&quot;); // disabling extensions
    options.addArguments(&quot;--disable-gpu&quot;); // applicable to windows os only
    options.addArguments(&quot;--no-sandbox&quot;); // Bypass OS security model
        
    // All chrome process are previously killed : Get-Process -Name chrome* | Stop-Process
    // https://stackoverflow.com/questions/59987080/invalidargumentexception-message-invalid-argument-user-data-directory-is-alre 
    //options.addArguments(&quot;--user-data-dir=C:\\Users\\&quot; + System.getProperty(&quot;user.name&quot;) + &quot;\\AppData\\Local\\Google\\Chrome\\Automation\\&quot;);
        
    WebDriver driver = new ChromeDriver();
    driver.get(&quot;https://www.google.com&quot;); }
  </code></pre>
  <p>When i run the test, Chrome Open, display the message tell it's controlled by an automated tool, display &quot;data:&quot; in the URL bar and hang. After a couple of seconds (minutes), the script ends with the above error.</p>
  <p>I'm runing on a plain windows 10 plateform, with no docker.
  I cannot create a new chrome profile, so i take care to close all chrome process before starting the test.</p>
  <p>Any help will be greatly appreciated.</p>