繁体   English   中英

Chrome浏览器未打开以运行测试用例

[英]Chrome Browser is not opening for running testcases

我已经安装了PHP zendframework,selenium。 运行硒时,无法使用以下命令打开chrome浏览器:

/usr/bin/google-chrome --disable-background-networking --disable-client-side-phishing-detection --disable-component-update --disable-default-apps --disable-hang-monitor --disable-prompt-on-repost --disable-sync --disable-web-resources --enable-logging --ignore-certificate-errors --load-extension=/tmp/.com.google.Chrome.LVz3oS/internal --log-level=0 --metrics-recording-only --no-first-run --password-store=basic --remote-debugging-port=12953 --safebrowsing-disable-auto-update --safebrowsing-disable-download-protection --test-type=webdriver --use-mock-keychain --user-data-dir=/tmp/.com.google.Chrome.UenPqz

如果我删除此--load-extension=/tmp/.com.google.Chrome.LVz3oS/internal则只有它允许打开浏览器。 它正在创建一个内部扩展,因此如何删除它。

尝试这个

  1. 打开设置并向下滚动到隐私
  2. 在Chrome浏览器设置中,取消选中以下图像中突出显示的这些设置

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM