Class AdditionalHandler

    • Constructor Detail

      • AdditionalHandler

        public AdditionalHandler​(String locatorType,
                                 String script)
        Constructor.
        Parameters:
        locatorType - locator type name.
        script - locator implementation by JavaScript.
    • Method Detail

      • handle

        public List<org.openqa.selenium.WebElement> handle​(org.openqa.selenium.WebDriver driver,
                                                           String arg)
        Description copied from interface: LocatorHandler
        Handle locator.
        Specified by:
        handle in interface LocatorHandler
        Parameters:
        driver - WebDriver instance.
        arg - locator argument.
        Returns:
        found element.