|
@@ -12,14 +12,15 @@ 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');
|
|
|
- } else {
|
|
|
- if (is_file('/usr/bin/google-chrome')) {
|
|
|
- $this->driver = '/usr/bin/google-chrome';
|
|
|
- } else {
|
|
|
- $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
|
|
|
- }
|
|
|
}
|
|
|
+ //elseif ($this->onMac()) {
|
|
|
+ // $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-mac');
|
|
|
+ //} else {
|
|
|
+ // if (is_file('/usr/bin/google-chrome')) {
|
|
|
+ // $this->driver = '/usr/bin/google-chrome';
|
|
|
+ // } else {
|
|
|
+ // $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
|
|
|
+ // }
|
|
|
+ //}
|
|
|
}
|
|
|
}
|