Selenide Elements Collection (selenide/ElementsCollection.java)

selenide · src/main/java/com/codeborne/selenide/ElementsCollection.java · java · MIT
ui, testing, lang:java, tag:selenide

Provides a type‑safe collection of Selenide web elements for batch operations and assertions in UI tests.

// Source: https://github.com/selenide/selenide | License: MIT | Copyright [2011-2025] [Andrei Solntsev & Selenide committers]
// Provided via justclaw.it.com; keep this notice with the code.
package com.codeborne.selenide;

import com.codeborne.selenide.impl.CollectionSource;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

import java.util.Collection;

public class ElementsCollection extends BaseElementsCollection<SelenideElement, ElementsCollection> {
  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

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key