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.

Configuring WebDriverWait

Configuring WebDriverWait - Selenium Tutorial

From the course: Advanced Selenium: 3 Synchronization Strategies

Start my 1-month free trial

Configuring WebDriverWait

- [Instructor] So you may have noticed there are more methods listed on the Web Driver Wait, called completion than we've covered so far. Those are all the configuration methods for WebDriverWait because sometimes we need finer grained control over the waiting process. So in the configuring WebDriverWaitTest, we're going to explore the options from the WebDriverWait. With WebDriverWait, we can configure it and we can see with control space here to ignore certain exceptions. I can configure it to poll every specific duration. So polling at different time periods. I can have it display a different message when the wait fills and I can change the timer, so having instantiate a wait, I can change the timer after doing that. And all of this provides more control over the synchronization process and if we've created a shared wait, I can re-configure that wait later on. So I'm going to amend the code here to be a little bit…

Contents