Browse Source

chromedriver

jqh 5 years ago
parent
commit
3b8d3fafa9
1 changed files with 2 additions and 3 deletions
  1. 2 3
      tests/ChromeProcess.php

+ 2 - 3
tests/ChromeProcess.php

@@ -14,9 +14,8 @@ class ChromeProcess extends BaseChromeProcess
             $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-win.exe');
         } elseif ($this->onMac()) {
             $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-mac');
+        } else {
+            $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
         }
-        //else {
-        //    $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
-        //}
     }
 }