Google chrome 在使用Jbehave和Selenium Webdriver执行测试时,如何避免Google Chrome尝试访问我的联系人?

Google chrome 在使用Jbehave和Selenium Webdriver执行测试时,如何避免Google Chrome尝试访问我的联系人?,google-chrome,selenium-webdriver,jbehave,Google Chrome,Selenium Webdriver,Jbehave,我正在用Jbehave和seleniumwebdriver开发和执行一些测试 当其中一个测试尝试写入登录字段时,Chrome WebDriver尝试访问通讯簿,由于缺乏权限,显示以下消息: Google Chrome[424:ea03] Address book access is denied for executable at path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome 如何避免司机试图访问通讯簿 这

我正在用Jbehave和seleniumwebdriver开发和执行一些测试

当其中一个测试尝试写入登录字段时,Chrome WebDriver尝试访问通讯簿,由于缺乏权限,显示以下消息:

Google Chrome[424:ea03] Address book access is denied for executable at path: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

如何避免司机试图访问通讯簿

这可能是由Chrome的自动填充造成的


我不知道你能不能告诉司机控制它。但是可以避免Chrome使用联系人进行自动填充:在其自动填充设置中,禁用“从我的通讯录卡中包含地址”。

您有没有用与我的答案不同的方法解决过这个问题?(顺便说一句:我很肯定,下一票是对一些无关的元讨论的报复;同时还有另一次下一票,但同时该用户的袜子玩偶被删除了。)