【发布时间】:2018-12-31 03:16:03
【问题描述】:
我正在尝试获取我在 Selenium 中使用的实际用户代理,目前使用 chromedriver。
我发现了这个问题的 Java 版本: How to get userAgent information in Selenium Web driver.
有人知道如何在 Python 中做到这一点吗?
【问题讨论】:
-
使用 Selenium 访问 whatsmyua.info?
标签: python selenium selenium-webdriver web-scraping selenium-chromedriver