Open vastolord opened 7 years ago
I think you can specify the cookie file as below:
$client->getEngine()->addOption('--config=/
Then inside the phantomjs-config.json
{ / Same as: --ignore-ssl-errors=true / "ignoreSslErrors": true,
/ Same as: --max-disk-cache-size=1000 / "maxDiskCacheSize": 1000,
/ Same as: --output-encoding=utf8 / "outputEncoding": "utf8",
"cookiesFile" : "
}
request is giving you need to enable your cookies on your browser.How to turn on cookies in phantom js packages of yours ??? because my browser cookies is on.