An expectation for checking whether the given frame is available to switch
to. If the frame is available it switches the given driver to the
specified frame.
Namespace: OpenQA.Selenium.Support.UI
Assembly: WebDriver.Support (in WebDriver.Support.dll) Version: 3.1.0
Syntax
public static Func<IWebDriver, IWebDriver> FrameToBeAvailableAndSwitchToIt( string frameLocator )
Parameters
- frameLocator
- Type: SystemString
Used to find the frame (id or name)
Return Value
Type: FuncIWebDriver, IWebDriverIWebDriver
See Also