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

jp.vmi.selenium.selenese.locator.OptionIdHandler Maven / Gradle / Ivy

package jp.vmi.selenium.selenese.locator;

import java.util.List;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

class OptionIdHandler implements OptionLocatorHandler {

    @Override
    public String optionLocatorType() {
        return "id";
    }

    @Override
    public List handle(WebElement element, String arg) {
        return element.findElements(By.id(arg));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy