Answer the question
In order to leave comments, you need to log in
How to add proxy with username and password in chrome headless?
I create a client like this:
$client = \Symfony\Component\Panther\Client::createChromeClient(null, [
'--window-size=1200,1100',
'--proxy-server=http://ip:[email protected]:pass',
'--headless',
'--disable-gpu',
]);
$client = \Symfony\Component\Panther\Client::createChromeClient(null, [
'--window-size=1200,1100',
'--proxy-server=http://user:[email protected]:port',
'--headless',
'--disable-gpu',
]);
$client = \Symfony\Component\Panther\Client::createChromeClient(null, [
'--window-size=1200,1100',
'--proxy-server=http://ip:port',
'--headless',
'--disable-gpu',
]);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question