Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
184 views
by The go-to Tester (360 points)
edited by
I am automating web application that contains frame and need to swicth frame, how do I switch to the frame?

1 Answer

0 like 0 dislike
by The go-to Tester (473 points)

First of all take the index of all the frames present in your current open browser tab. And then use the method driver.switchTo().frame() which will take index of your targeted frame and then will switch control to the targeted frame


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...