/// <summary> /// <inheritdoc cref="ITargetLocator.Frame(string)" /> /// </summary> public IWebDriver Frame([NotNull] string frameName) { if (frameName == null) throw new ArgumentNullException(nameof(frameName)); return TargetLocatorImplementation.Frame(frameName); }
/// <summary> /// <inheritdoc cref="ITargetLocator.Frame(IWebElement)" /> /// </summary> public IWebDriver Frame([NotNull] IWebElement frameElement) { if (frameElement == null) throw new ArgumentNullException(nameof(frameElement)); return TargetLocatorImplementation.Frame(frameElement); }
/// <summary> /// <inheritdoc cref="ITargetLocator.Frame(int)" /> /// </summary> public IWebDriver Frame(int frameIndex) { return TargetLocatorImplementation.Frame(frameIndex); }