-
-
Notifications
You must be signed in to change notification settings - Fork 752
Closed
Description
Hello,
With Codeceptjs v2.0.3
System : windows 10
When('i set value {string} in the field {string}', (text, css) => {
I.waitForVisible(css);
I.executeScript(function(text,css) {
document.querySelector(css).value = text;
});
});I got :
unknown error: Cannot set property 'value' of null
text & css variables are undefined inside the executeScript function
I got same error with gherkins or classic tests.
How can i achieve this ?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels