Selenium Chrome driver failed to parse value of getElementRegion

纵饮孤独 提交于 2019-12-23 18:36:50

问题


I get the following error from chrome driver when running my selenium tests with chrome driver. The test works fine with firefox.

unknown error: failed to parse value of getElementRegion

Here's the code, it fails when trying to click the submit button. I'm using selenium-standalone to run my server, specifying chromedriver with selenium-standalone start --drivers.chrome.version=2.8 and webdriverIO

client
    .url(options.url)
    .setValue(usernameSelector, username)
    .setValue(passwordSelector, password)
    .click(submitBtnSelector)

回答1:


I solved the same problem by deleting the line SELENIUM_PROMISE_MANAGER: false in my conf.js file on my protractor configuration.



来源:https://stackoverflow.com/questions/32977672/selenium-chrome-driver-failed-to-parse-value-of-getelementregion

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!