Skip to content

Phantom Driver doesn't work #23

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions