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

com.zebrunner.carina.webdriver.locator.PlatformCondition Maven / Gradle / Ivy

package com.zebrunner.carina.webdriver.locator;

import org.openqa.selenium.support.FindBy;

public class PlatformCondition extends BasePlatformCondition implements FindCondition {

    public PlatformCondition(LocatorCreatorContext locatorCreatorContext) {
        super(locatorCreatorContext);
    }

    @Override
    public void assertValidAnnotations(FindByPlatform annotation) {
        super.assertValidAnnotations(annotation.value());
    }

    @Override
    public boolean isConditionApply(FindByPlatform annotation) {
        return super.isConditionApply(annotation.value());
    }

    @Override
    public FindBy getFindBy(FindByPlatform annotation) {
        return annotation.findBy();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy