All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.serenitybdd.screenplay.targets.TargetResolver Maven / Gradle / Ivy

There is a newer version: 4.2.8
Show newest version
package net.serenitybdd.screenplay.targets;

import net.serenitybdd.core.pages.PageObject;
import org.openqa.selenium.WebDriver;

class TargetResolver extends PageObject {

    private TargetResolver(WebDriver driver, Target target) {
        super(driver);
        IFrameSwitcher.getInstance().switchToIFrame(driver, target);
    }

    static TargetResolver create(WebDriver driver, Target target) {
        return new TargetResolver(driver, target);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy