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 482d5a4 commit 48d2c2aCopy full SHA for 48d2c2a
1 file changed
javascript/node/selenium-webdriver/test/actions_test.js
@@ -143,6 +143,8 @@ suite(function (env) {
143
.move({ x: 100, y: 100, origin: Origin.POINTER })
144
.release()
145
.perform()
146
+ await driver.wait(
147
+ async () => await slide.getCssValue('left') === '101px', 5000)
148
assert.strictEqual(await slide.getCssValue('left'), '101px')
149
assert.strictEqual(await slide.getCssValue('top'), '101px')
150
})
@@ -171,6 +173,8 @@ suite(function (env) {
171
173
172
174
await driver.actions().sendKeys('foobar').perform()
175
176
177
+ async () => await el.getAttribute('value') === 'foobar', 5000)
178
assert.strictEqual(await el.getAttribute('value'), 'foobar')
179
180
0 commit comments