未应用量角器边缘铬选项

问题描述

我使用 Protractor + Jasmine + UIAutomation 来测试 Web 和桌面应用程序。我需要在 Edge Chromium 浏览器(版本 88.0.705.53)中运行我的测试。我用的是selenium-server-standalone-3.141.59,msedgedriver.exe 版本88.0.705.53,和Edge浏览器一样。这是我的量角器 config.js:

 capabilities: {
    'browserName': 'MicrosoftEdge','platform': 'windows','maxInstances': 1,'nativeEvents': false,'UseChromium': true,edgeOptions: {
      args: ['--no-sandbox','lang=en-EN','--disable-gpu'],prefs: {
        download: {
          'prompt_for_download': true,'directory_upgrade': true,'default_directory': 'C:\\DownloadedFiles'
        }
      }
    },},seleniumAddress: 'http://localhost:4444/wd/hub',

问题是当我运行我的测试时,没有应用下载选项并且浏览器没有提示下载并且默认目录没有改变。这是我的独立服务器:

enter image description here

我的设置有什么问题,我应该更改什么?提前感谢您的回答。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...