com.codeborne.selenide.ElementsCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenide-core Show documentation
Show all versions of selenide-core Show documentation
Selenide = concise API for Selenium WebDriver
package com.codeborne.selenide;
import com.codeborne.selenide.impl.CollectionSource;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import javax.annotation.ParametersAreNonnullByDefault;
import java.util.Collection;
@ParametersAreNonnullByDefault
public class ElementsCollection extends BaseElementsCollection {
public ElementsCollection(CollectionSource collection) {
super(collection);
}
public ElementsCollection(Driver driver, Collection extends WebElement> elements) {
super(driver, elements);
}
public ElementsCollection(Driver driver, String cssSelector) {
super(driver, cssSelector);
}
public ElementsCollection(Driver driver, By seleniumSelector) {
super(driver, seleniumSelector);
}
@Override
protected ElementsCollection create(CollectionSource source) {
return new ElementsCollection(source);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy