Working with Frameworks
Explore how to use Selenium WebDriver to test dynamic web frameworks like AngularJS and EmberJS. Understand techniques for identifying elements with dynamic attributes and write robust tests that handle changes in HTML5 and JavaScript-rendered content. This lesson equips you with practical skills for testing modern client-side applications.
We'll cover the following...
We'll cover the following...
AngularJS web pages
AngularJS is a popular client-side JavaScript framework that can be used to extend HTML. Here is a web page (simple TO-DO list) developed in AngularJS.
An example of a to-do list
HTML source:
Here, the page source (via “View Page Source” in the browser) is different from what we saw on the page, as it contains some kind of dynamic coding ...