We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f09bbed commit 76e033aCopy full SHA for 76e033a
examples/javascript/test/elements/interactions.spec.js
@@ -19,7 +19,8 @@ suite(function (env) {
19
let inputField = await driver.findElement(By.name('no_type'));
20
await inputField.clear();
21
await inputField.sendKeys('Selenium');
22
- assert.strictEqual(await inputField.getText(), "Selenium");
+ const text = await inputField.getAttribute('value');
23
+ assert.strictEqual(text, "Selenium");
24
} catch (e) {
25
console.log(e)
26
}
0 commit comments