This document discusses how to manipulate various web elements like input boxes, submit buttons, radio buttons, check boxes, dropdowns, tables, frames, alerts and popups using WebDriver. It explains that frames can be switched between by index, name or ID, and covers handling alerts and popups that appear on webpages.
9. Frames Handling
Frame switching can be done 3 ways
By Index
driver.switchTo().frame(0);
driver.switchTo().frame(1);
By Name or Id
driver.switchTo().frame("iframe1");
driver.switchTo().frame("id of the element");