Selenium WebDriver

Pages

  • Home

Friday, July 3, 2015

How to Switch to Iframe in Selenium

 


Here index 0 shown first frame

Here index 2 shown third frame

Here index 1 shown second frame



//Switch by Index
driver.switchTo().frame(0);
driver.quit()
Posted by Unknown at 3:11 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Automation Test Engineer

Unknown
View my complete profile

Blog Archive

  • ►  2016 (3)
    • ►  March (1)
      • ►  Mar 27 (1)
    • ►  January (2)
      • ►  Jan 24 (2)
  • ▼  2015 (18)
    • ▼  July (16)
      • ►  Jul 05 (3)
      • ▼  Jul 03 (13)
        • How To scroll the page
        • How to Install TestNG step by step with screen shot
        • PopupsHandling In Selenium
        • How to handle javascript alerts, confirmation and ...
        • How to locate object through link text
        • How to locate object through name
        • How to locate Object through ID
        • How to get value from properties file
        • Switching back to Main page from Frame
        • How to Switch to Iframe in Selenium
        • How to find total number of iFrames on a webpage
        • selenium fluent wait condition
        • Selenium Implicit Wait and Explicit Wait
    • ►  June (2)
      • ►  Jun 21 (2)
  • ►  2014 (22)
    • ►  February (22)
      • ►  Feb 22 (1)
      • ►  Feb 11 (16)
      • ►  Feb 10 (4)
      • ►  Feb 08 (1)
Watermark theme. Powered by Blogger.