Class FrameByIdOrName

java.lang.Object
com.codeborne.selenide.impl.windows.FrameByIdOrName
All Implemented Interfaces:
com.google.common.base.Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>, Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>, org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebDriver>

public class FrameByIdOrName extends Object implements org.openqa.selenium.support.ui.ExpectedCondition<org.openqa.selenium.WebDriver>
A slightly fixed implementation of ExpectedConditions.frameToBeAvailableAndSwitchToIt(org.openqa.selenium.By)
  • Constructor Details

    • FrameByIdOrName

      public FrameByIdOrName(String frame)
  • Method Details

    • apply

      public @Nullable org.openqa.selenium.WebDriver apply(org.openqa.selenium.WebDriver driver)
      Specified by:
      apply in interface com.google.common.base.Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>
      Specified by:
      apply in interface Function<org.openqa.selenium.WebDriver,org.openqa.selenium.WebDriver>
    • toString

      public String toString()
      Overrides:
      toString in class Object