Class CurrentFrameCondition

java.lang.Object
com.codeborne.selenide.conditions.webdriver.CurrentFrameCondition
All Implemented Interfaces:
ObjectCondition<org.openqa.selenium.WebDriver>
Direct Known Subclasses:
CurrentFrameUrl, CurrentFrameUrlContaining, CurrentFrameUrlStartingWith

public abstract class CurrentFrameCondition extends Object implements ObjectCondition<org.openqa.selenium.WebDriver>
  • Field Details

    • expectedUrl

      protected final String expectedUrl
  • Constructor Details

    • CurrentFrameCondition

      protected CurrentFrameCondition(String name, String expectedUrl)
  • Method Details

    • description

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

      public String negativeDescription()
      Specified by:
      negativeDescription in interface ObjectCondition<org.openqa.selenium.WebDriver>
    • expectedValue

      public String expectedValue()
      Specified by:
      expectedValue in interface ObjectCondition<org.openqa.selenium.WebDriver>
    • getCurrentFrameUrl

      protected String getCurrentFrameUrl(org.openqa.selenium.WebDriver webDriver)
    • describe

      public String describe(org.openqa.selenium.WebDriver webDriver)
      Specified by:
      describe in interface ObjectCondition<org.openqa.selenium.WebDriver>
    • check

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

      protected abstract boolean test(String url)