You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.cookieconsent.testbench.

Class CookieConsentElement

java.lang.Object
com.vaadin.testbench.TestBenchElement
com.vaadin.flow.component.cookieconsent.testbench.CookieConsentElement

All Implemented Interfaces:

CanCompareScreenshots, HasCallFunction, HasDriver, HasElementQuery, HasPropertySettersGetters, HasSearchContext, HasTestBenchCommandExecutor, org.openqa.selenium.SearchContext, org.openqa.selenium.TakesScreenshot, org.openqa.selenium.WebElement, org.openqa.selenium.WrapsElement

public class CookieConsentElement extends TestBenchElement
  • Constructor Details

    • CookieConsentElement

      public CookieConsentElement()
  • Method Details

    • getDismissLinkElement

      public org.openqa.selenium.WebElement getDismissLinkElement()
    • getLearnMoreLinkElement

      public org.openqa.selenium.WebElement getLearnMoreLinkElement()
    • getMessage

      public String getMessage()
    • getDismissLabel

      public String getDismissLabel()
    • getLearnMoreLabel

      public String getLearnMoreLabel()
    • getLearnMoreLink

      public String getLearnMoreLink()
    • getCookieName

      public String getCookieName()
    • getPosition

      public CookieConsent.Position getPosition()
    • getContainer

      public org.openqa.selenium.WebElement getContainer()
    • getContext

      public org.openqa.selenium.SearchContext getContext()

      Description copied from class: TestBenchElement

      Returns this TestBenchElement cast to a SearchContext. Method provided for compatibility and consistency.

      Specified by:

      getContext in interface HasSearchContext

      Overrides:

      getContext in class TestBenchElement

      Returns:

      a SearchContext instance

    • isDisplayed

      public boolean isDisplayed()

      Specified by:

      isDisplayed in interface org.openqa.selenium.WebElement

      Overrides:

      isDisplayed in class TestBenchElement