From the course: Advanced Selenium: 3 Synchronization Strategies

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Introducing thewaiter

Introducing thewaiter - Selenium Tutorial

From the course: Advanced Selenium: 3 Synchronization Strategies

Start my 1-month free trial

Introducing thewaiter

- [Instructor] Can be useful to study examples from other people and how they've created libraries for waiting and how they've constructed an approach to waiting. So in this video using thewaiter example test, we're going to have a look at a third-party library called thewaiter. Now, you can find thewaiter on GitHub, github.com/iamalittletester/thewaiter, and it's Java, you can bring it in through Maven. And it adds a standard set of methods for waiting for URLs, elements, and it's built around the concept of a company using PageFactory objects. So to use thewaiter, I have to amend the pom.xml, so let's have a quick look at this. So in the pom.xml, I've had to add thewaiter in here so you can see that in lines 47 to 57 by having added the dependency and the pom.xlm, to thewaiter is available for me to use in my test, and you can see that, as part of the pom.xml here, we've had to add an exclusion on the Selenium WebDriver…

Contents