Skip to content
Advertisement

How can i set proxy server with symfony/panther

I found two way of setting proxy server one is through chrome web driver capabilities and the other one is directly setting while creating chrome client

JavaScript

but after setting proxy IP and port I get following error:

JavaScript

Basically I want to use proxy servers while scraping data using Symfony panther.

Advertisement

Answer

i made it work with passing following configuration.

JavaScript

i think previously proxy server i was using doesn’t support https (i was try to visit https page) and i was also missing windows-size argument.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement