From the course: Selenium Essential Training
Unlock the full course today
Join today to access over 24,000 courses taught by industry experts.
Why synchronization is an issue - Selenium Tutorial
From the course: Selenium Essential Training
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.