From the course: Selenium Essential Training

Unlock the full course today

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

Why synchronization is an issue

Why synchronization is an issue - Selenium Tutorial

From the course: Selenium Essential Training

Start my 1-month free trial

Why synchronization is an issue

- [Instructor] Tests usually run really fast, and that's a wonderful thing. However, sometimes it may take a moment or ten for new pages to load, for certain actions to finish, or for components to appear. This chapter's all about synchronization with running tests and learning how to account for the factors that can make a test have unexpected behavior. So, why do synchronization issues occur? One reason is that browser drivers operate at different speeds. ChromeDriver and geckodriver are known to be the fastest browser drivers, while others are a bit slower. You'll also notice that as the number of simultaneous tests increases, there is a discrepancy between running tests in your local machine as opposed to running tests in a remote or virtual machine. Network speed, or connectivity, can be another factor, and make a huge difference in how tests execute. Pages can be slow to render and this will slow down tests. So, you can see there are several different reasons that…

Contents