title: How to get user agent information in Selenium WebDriver with Python
body: <p>I am trying to get the actual user agent that I am using in Selenium, at the moment with the <code>chromedriver</code>.</p>
  
  <p>I found a Java version of this problem:
  <a href="https://stackoverflow.com/questions/43229299/how-to-get-useragent-information-in-selenium-web-driver">How to get userAgent information in Selenium Web driver</a>.</p>
  
  <p>Does someone know how to do that in Python?</p>