0.1.1 • Published 2 years ago

@theia-extension-tester/until v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

until

This package provides collection of some waiting conditions and other wait conditions used in @theia-extension-tester/page-objects.

Usage

install:un

intercepted

await driver.wait(elementInteractive(element), 5000);

Perform a safe click on element. Element must be interactive before click is made. Click interception is handled.

await driver.wait(safeClick(element), 5000);

Perform a safe sendKeys on element. Element must be interactive before keystroke is made. Keystroke interception is handled.

await driver.wait(safeSendKeys(element, "Hello, world!"), 5000);