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

com.codeborne.selenide.ElementsCollection Maven / Gradle / Ivy

There is a newer version: 7.6.1
Show newest version
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 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