-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
First off all, the use of PhantomInstaller is good. But if you use this, why the driver doesn't use it ???
Solution:
Add to public static function command the following Lines:
$binDir = '';
try {
// try to use the phantominstaller binary
$binDir = \PhantomInstaller\PhantomBinary::DIR.DIRECTORY_SEPARATOR;
} catch (Exception $e) {
}
return $binDir."phantomjs --ignore-ssl-errors=true {$file} {$port} {$additional}";
The next Problem is, the driver will lose the custom Port. So when i set the Port like you did in your example, it will be used for the first port/connection tests, but not for the last ones.