panther icon indicating copy to clipboard operation
panther copied to clipboard

Chrome Headless with Selenium on Panther

Open rsereir opened this issue 1 year ago • 1 comments

Hello,

I have an hosted application on Platform.sh with a Chrome Headless service to use Panther for crawling.

My platform.sh service is exposed on http://XXX.XXX.XX.XX:9994/

Following issues: #312 #190 i configure a SeleniumClient instead of ChromeClient. My application container contain only my Symfony app ( with panther bundle ) but no browser. It's a remote browser ( exposed on http://XXX.XXX.XX.XX:9994/ )

This is my configuration:

$client = Client::createSeleniumClient('http://XXX.XXX.XX.XX:9994/');
$client->request('GET', 'https://google.com');

The response of this call is: Screenshot 2022-07-13 at 14 31 08

It seems does not working correctly with Chrome Headless browser on remote..

Someone have any idea ?

-> i don't want use Peppeers node package instead of Panther like Chrome Headless documentation indications

Rédoine

rsereir avatar Jul 13 '22 12:07 rsereir