title: Change user-agent for Symfony Panther Chromeclient
body: <p>How do I change the user-agent in a headless Chrome created by Symfony's Panther <code>createChromeClient()</code>?</p>
  
  <p>When I create a Chrome client with </p>
  
  <p><code>$client = \Symfony\Component\Panther\Client::createChromeClient();</code></p>
  
  <p>I see in the access_log a user-agent of </p>
  
  <p><code>"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/77.0.3865.90 Safari/537.36"</code></p>
  
  <p>I searched for solutions, and think I have to change the user-agent string via the arguments of the chrome, but can't find the right way, because the answers on the web aren't for PHP or Panther.</p>
  
  <p>Cheers!</p>