Class CookieWithNameAndValue

java.lang.Object
com.codeborne.selenide.conditions.webdriver.CookieWithNameAndValue
All Implemented Interfaces:
ObjectCondition<org.openqa.selenium.WebDriver>

@ParametersAreNonnullByDefault public class CookieWithNameAndValue extends Object implements ObjectCondition<org.openqa.selenium.WebDriver>
  • Constructor Details

    • CookieWithNameAndValue

      public CookieWithNameAndValue(String name, String value)
  • Method Details

    • description

      @Nonnull @CheckReturnValue public String description()
      Specified by:
      description in interface ObjectCondition<org.openqa.selenium.WebDriver>
    • negativeDescription

      @Nonnull @CheckReturnValue public String negativeDescription()
      Specified by:
      negativeDescription in interface ObjectCondition<org.openqa.selenium.WebDriver>
    • check

      @CheckReturnValue public CheckResult check(org.openqa.selenium.WebDriver webDriver)
      Specified by:
      check in interface ObjectCondition<org.openqa.selenium.WebDriver>
    • expectedValue

      @Nullable @CheckReturnValue public String expectedValue()
      Specified by:
      expectedValue in interface ObjectCondition<org.openqa.selenium.WebDriver>
    • describe

      @Nonnull @CheckReturnValue public String describe(@Nonnull org.openqa.selenium.WebDriver webDriver)
      Specified by:
      describe in interface ObjectCondition<org.openqa.selenium.WebDriver>