Example #1
0
        /// <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);
        }
Example #2
0
        /// <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);
        }
Example #3
0
 /// <summary>
 ///     <inheritdoc cref="ITargetLocator.Frame(int)" />
 /// </summary>
 public IWebDriver Frame(int frameIndex)
 {
     return TargetLocatorImplementation.Frame(frameIndex);
 }