In this illustrative solution an eValid script demonstrates the ability to modify the DOM dynamically by using eValid DOM manipulation commands to change the background color.
- Navigates to a page
- Changes the background color for one element to COLOR1.
- Waits 5 seconds (so you can see the effect).
- Changes the background color for one element to COLOR2
- Waits 5 seconds (so you can see the effect).
- Changes the background color back to the original background color.
- Waits 5 seconds (so you can see the effect).
Here is the link to the full solution description: Modify a DOM Element Dynamically
No comments:
Post a Comment