Category: google-chrome

Change user-agent for Symfony Panther Chromeclient

How do I change the user-agent in a headless Chrome created by Symfony’s Panther createChromeClient()? When I create a Chrome client with $client = SymfonyComponentPantherClient::createChromeClient(); I see in the access_log a user-agent of “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like…

Mink / behat javascript error not found element for simple scenario

can you help me please? I have a problem for simple scenario gerkins that don’t find fields with error Form field with id|name|label|value|placeholder “searchform-search” not found. (BehatMinkExceptionElementNotFoundException) but selecium launches chrome correctly. I use mink/behat symfony, selecium, chrome-driver. For example…

Symfony panter: getting error unknown error: failed to write prefs file from facebook/webdriver

I have build a webcrawler for a client in Laravel. To accomplish this i use the symfony panter package. symfony panter I finished developing it and have been asked to put it on the server of the client, which is…