Learn about what waits are and why we need them while automating websites.
- [Instructor] Waits are very important when it comes…to placing your automation script.…Most websites today use asynchronous techniques…such as Ajax.…When a webpage is loaded by the browser,…the elements may be loaded at different time intervals…due to this.…So elements may take much longer to load…as compared to others.…This could be something like an image, a video,…or any other element that requires more time to load.…
This poses a problem while locating elements on a page.…If an element is not found by a script at that time,…an exception is raised and your script…will run into an issue and stop.…This is where waits come into the picture.…Waiting adds a time interval between the actions…performed by the WebDriver.…That is, it adds a wait between locating elements…and performing operations on them.…The selenium WebDriver provides two types of waits,…explicit and implicit.…
An explicit wait stops execution…until a certain condition is satisfied.…An implicit wait on the other hand,…polls the DOM for a given amount of time…
- What is automated testing?
- Python-Selenium bindings
- Parsing the DOM structure
- Locating elements in the DOM
- Navigating and interacting with pages
- Explicit and implicit waits
Skill Level Intermediate
Learning Python GUI Programmingwith Burkhard Meier6h 6m Intermediate
Learning Python Web Penetration Testingwith Christian Martorella2h 49m Intermediate
1. What Is Automation Testing and Python-Selenium Framework?
2. Parsing the HTML DOM Structure
3. Navigating through Pages
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.