|
@@ -12,10 +12,9 @@ class ChromeProcess extends BaseChromeProcess
|
|
|
|
|
|
if ($this->onWindows()) {
|
|
if ($this->onWindows()) {
|
|
$this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-win.exe');
|
|
$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 {
|
|
//else {
|
|
// $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
|
|
// $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
|
|
//}
|
|
//}
|