@theia-extension-tester/until
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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);

Package Sidebar

Install

npm i @theia-extension-tester/until

Weekly Downloads

0

Version

0.1.1

License

Apache-2.0

Unpacked Size

19.9 kB

Total Files

6

Last publish

Collaborators

  • mlorinc