Interface ListComponent

All Superinterfaces:
AlluriumElement, WebElementMeta
All Known Subinterfaces:
SwitcherItem
All Known Implementing Classes:
AbstractCarousel, AbstractForm, AbstractInputElement, AbstractRequiredTextArea, AbstractRequiredTextField, AbstractSwitcher, AbstractTabs, AbstractWidget, Button, Carousel, Cell, CheckBox, DropdownSelect, FakeParent, Header, Icon, Iframe, Image, Label, Line, Link, ListItem, MenuItem, Partition, RadioButton, Row, Select, Symbol, Tab, Text, TextArea, TextField, TextLine, Title, UIElement, UploadField, Value

public interface ListComponent extends AlluriumElement
Interface for web components that are part of a collection and can be managed or retrieved by an identifier.

Web components implementing this interface can be grouped into a collection, allowing retrieval and interaction with specific components based on their identifiers.

Purpose:

  • Facilitates managing and accessing a collection of web components.
  • Provides a standard way to retrieve components using their IDs.

Example Scenario:

Consider a webpage with multiple forms, each containing a dropdown, an input field, and a text area. Implementing `ListComponent` allows grouping the forms into a collection for efficient interaction.

Code Example:

  • Method Details

    • getId

      String getId()
      Retrieves the unique identifier for this component.
      Returns:
      the component's unique ID as a String.