{"repo":"webdriverio/wdio-wait-for","free":true,"listed":false,"github":"https://github.com/webdriverio/wdio-wait-for","clone":"git clone https://github.com/webdriverio/wdio-wait-for.git","description":"a lightweight library of useful expected conditions for the WebdriverIO framework.","language":"TypeScript","stars":20,"topics":["webdriverio","webdriverio-plugin","typesript","selenium","webdriver"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"WDIO Wait For wdio-wait-for is a Node.js library for WebdriverIO that supplies a set of common conditions that provides functionalities to wait for certain conditions till a defined task is complete. Installation To use wdio-wait-for in your project, run: If you use Yarn, run: API - alertIsPresent - numberOfWindowsToBe​ - titleContains - titleIs - urlContains - urlIs - elementToBeClickable - elementToBeEnabled - elementToBeSelected - invisibilityOf - numberOfElementsToBe - numberOfElementsToBeLessThan - numberOfElementsToBeMoreThan​ - presenceOf - sizeOfElementToBe - stalenessOf - textToBePresentInElement - textToBePresentInElementValue - visibilityOf - and - not - or Examples Import CommonJS If you are using WebdriverIO v7 and lower with CommonJS you have to use require to import the package, e.g.: ESM With TypeScript or WebdriverIO v8 and upwards you can use the import statement to import either all helper methods, e.g.: or just specific ones, e.g.: Wait for alert This code code snippet shows how to use conditions Wait for Elements This code code snippet shows how to use conditions to wait e.g. on a certain number of elements to exist: License MIT licensed. Author Yevhen Laichenkov - elaichenkov@gmail.com Christian Bromann - mail@bromann.dev","default_branch":null,"files":null,"tree":[],"storefront":"/r/webdriverio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/webdriverio/wdio-wait-for/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}