Skip to content

Phantom Driver doesn't work #23

@matze-berg

Description

@matze-berg

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions