Selenium Java - Handling Windows, Frames, and Alerts
Given the following code snippet, what will be the output?
Assuming "innerText" is inside a nested frame within "outerFrame" but not directly inside "outerFrame".
driver.switchTo().frame("outerFrame");
String text = driver.findElement(By.id("innerText")).getText();
System.out.println(text);Assuming "innerText" is inside a nested frame within "outerFrame" but not directly inside "outerFrame".
