Skip to content

Instantly share code, notes, and snippets.

View bojcheski's full-sized avatar

Borche Bojcheski bojcheski

View GitHub Profile
@michaellouieloria
michaellouieloria / gist:f2ee272d1709a0e80f71
Last active August 4, 2019 12:10
Phantomjs in Facebook PHP webdriver
Use phantomjs. Start it:
$ phantomjs --webdriver=127.0.0.1:8910
Use:
require_once('lib/__init__.php');
$host = '127.0.0.1:8910';
$capabilities = array(
WebDriverCapabilityType::BROWSER_NAME => 'phantomjs',