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

com.shaft.gui.internal.locator.ShadowLocatorBuilder Maven / Gradle / Ivy

Go to download

SHAFT is a unified test automation engine. Powered by best-in-class frameworks, SHAFT provides a wizard-like syntax to drive your automation efficiently, maximize your ROI, and minimize your learning curve. Stop reinventing the wheel. Upgrade now!

There is a newer version: 8.2.20240402
Show newest version
package com.shaft.gui.internal.locator;

import org.openqa.selenium.By;

public class ShadowLocatorBuilder {
    public static By shadowDomLocator;
    public static By cssSelector;

    public ShadowLocatorBuilder(By shadowDomLocator, By cssSelector) {
        ShadowLocatorBuilder.shadowDomLocator = shadowDomLocator;
        ShadowLocatorBuilder.cssSelector = cssSelector;
    }

    public By build() {
        // this is returned as a placeholder, the real locator is built when the action is being performed and currently supports a limited set of element actions
        return cssSelector;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy