소스 검색

chromedriver

jqh 5 년 전
부모
커밋
3b8d3fafa9
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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');
-        //}
     }
 }