Login

Login
  • Register
  • VectorDesign blog

    Testing Automation and general Tech Geek stuff

    switching between iframes WebDriver

    Posted in Selenium on 15 July 2016 by vectordesign
    TestVariables.driver.switchTo().frame(TestVariables.driver.findElement(By.xpath("//html/body/div[3]/div[1]/div/div[2]/div[2]/div/div/div[3]/form/div[6]/div/div/iframe")));
    TestVariables.driver.switchTo().defaultContent();

    Leave a Reply