问题
I am currently using Python (v3.5.1), Selenium (v3.7), and Chromedriver (v2.33).
When I run the following command:
from selenium import webdriver
driver = webdriver.Chrome('C:\Program Files\ChromeWebdriver\chromedriver.exe')
I get the following messages:
[2440:4356:1115/112221.822:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: PasswordManagerAllowShowPasswords
[2440:4356:1115/112221.822:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: SkipMetadataCheck
[2440:4356:1115/112221.947:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: PasswordManagerAllowShowPasswords
[2440:4356:1115/112221.947:ERROR:configuration_policy_handler_list.cc(92)] Unknown policy: SkipMetadataCheck
The rest of my script works otherwise, but I would like to understand what is causing these errors so that I can make them go away or at least explain why they don't matter to the rest of my team.
来源:https://stackoverflow.com/questions/47315766/selenium-chromedriver-unknown-policy-errors