1 Answer

0 votes
by
By using the following code, we could switch between frames.

driver.switchTo().frame();

1

driver.switchTo().frame();
...