• +91 9723535972
  • info@interviewmaterial.com

Selenium Interview Questions and Answers

Question - Explain how you can switch between frames?

Answer -

To switch between frames webdrivers [ driver.switchTo().frame() ] method takes one of the three possible arguments

  • A number:  It selects the number by its (zero-based) index
  • A name or ID: Select a frame by its name or ID
  • Previously found WebElement: Using its previously located WebElement select a frame

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners