Q: CodeceptJS "unknown error": the result of the call function is missing "value"

This is my test.

Feature('Test'); Scenario('test something', (I) => { I.amOnPage(""); I.see("Welcome"); I.fillField('j_username', 'xxxxxx'); I.wait(3); }); 

This is my .JSON code

 { "tests": "asd/*_test.js", "timeout": 10000, "output": "./output", "smartwait":"1000", "helpers": { "WebDriverIO": { "url": "http://localhost:8080/xxxx/", "browser": "chrome" } }, "include": { "I": "./steps_file.js" }, "bootstrap": false, "name": "yenideneme" } 

I am trying to use CodeceptJS with the Webdriverio helper for end-to-end tests. Connect to the server and pass I.see("") . But added I.fillField() took this error =

 test something: unknown error: call function result missing 'value' 

I am trying to update chrome and chromedriver but it did not work.

And another completed project Error = 2) e2e "after each" hook: finalize codeceptjs for "welcome Page @fristBlank": unknown error: call function result missing 'value'

Pic Error

+5
source share
2 answers

This may be due to a problem with Chrome 65. After upgrading from Chrome 64, I started to see the same problem. Switching to version 64 should temporarily help.

A long-term solution ensures that Chromedriver is updated to version 2.36, which is supposed to work with Chrome 65. However, a simple "npm install chromedriver" may not be enough. Your Selenium may still try to download the old version. The actual solution depends on the setting of your environment.

+2
source

I have the same problem yesterday after updating chrome (v65).

Version 63 has been removed and downloaded from this site.

http://www.geocities.jp/ecvcn/exam/chrome_installer.html

The problem is resolved.

0
source

Source: https://habr.com/ru/post/1275786/


All Articles