© Courtney Zhan, Edited by Zhimin Zhan 2024
Z. Zhan (ed.)Selenium WebDriver Recipes in C#https://doi.org/10.1007/979-8-8688-0023-8_11

11. Frames

Courtney Zhan1  
(1)
Fitzgibbon, QLD, Australia
 

HTML frames are treated as independent pages, which is not a good web design practice. In fact, in HTML5, the <frame> tag was deprecated. As a result, few modern websites use frames nowadays. However, there are quite a number of sites that use iFrames. iFrames (inline frames) are a HTML document embedded in another HTML document (hence, inline). You can think of them as pages within a page.

In the context of automated testing, frames and iFrames are the same. In this book, we’ll use the terms frames and iFrames interchangeably.

Testing Frames

Figure 11-1 shows ...

Get Selenium WebDriver Recipes in C#: Practical Testing Solutions for Selenium WebDriver now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.