auto_switchToIframe

public void auto_switchToIframe(String elementPath, String ... elementValue){
    By locator =  LocatorBuilder.getBy(elementPath, elementValue);
    this.auto_getFluentWait().until(ExpectedConditions.frameToBeAvailableAndSwitchToIt(auto_getWebElement(locator)));
    //getDriver().switchTo().frame(getDriver().findElement(locator));
}
What are your feelings
Scroll al inicio