jqh 5 년 전
부모
커밋
f0f113e9e4
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      tests/ChromeProcess.php

+ 2 - 3
tests/ChromeProcess.php

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