ServerError未知错误:无法从未知错误中获取自动化扩展

时间:2017-06-15 07:11:17

标签: selenium selenium-chromedriver webdriver-io

我的wdio配置文件

      args: [
            '--enable-automation',
            '--start-maximized',
            '--disable-gpu',
            '--headless',
            '--no-sandbox',
            '--test-type',
            '--disable-infobars',
            '--test-type=browser',
          ],

我有这样的错误。

30 passing (191.50s)
3 pending
1 failing

1) [p] starts stage for students:
unknown error: cannot get automation extensionfrom unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
running
Error: unknown error: cannot get automation extensionfrom unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
    at new ErrorHandler.RuntimeError (node_modules/webdriverio/lib/utils/ErrorHandler.js:93:12)
    at Request._callback (node_modules/webdriverio/lib/utils/RequestHandler.js:59:33)
    at Request.self.callback (node_modules/webdriverio/node_modules/request/request.js:373:22)
    at Request.<anonymous> (node_modules/webdriverio/node_modules/request/request.js:1318:14)
    at IncomingMessage.<anonymous> (node_modules/webdriverio/node_modules/request/request.js:1266:12)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)




Exited with code 1

Chrome官方Google存储库中的最新稳定版

webdriver最新版本2.30

0 个答案:

没有答案