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