Category: user-agent

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…