Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/
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
driver.switchTo().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!
1.4k questions
1.6k answers
866 comments
1.9k users