/// <summary> /// Creates a new instance of <see cref="NgWebElement"/> by wrapping a <see cref="IWebElement"/> instance. /// </summary> /// <param name="ngDriver">The <see cref="NgWebDriver"/> in use.</param> /// <param name="element">The existing <see cref="IWebElement"/> instance.</param> /// <param name="by">The <see cref="By"/> being used to find the element.</param> public NgWebElement(NgWebDriver ngDriver, IWebElement element, By by) { this.ngDriver = ngDriver; this.element = element; this.by = by; }
/// <summary> /// Creates a new instance of <see cref="NgNavigation"/> by wrapping a <see cref="INavigation"/> instance. /// </summary> /// <param name="ngDriver">The <see cref="NgWebDriver"/> in use.</param> /// <param name="navigation">The existing <see cref="INavigation"/> instance.</param> public NgNavigation(NgWebDriver ngDriver, INavigation navigation) { this.ngDriver = ngDriver; this.navigation = navigation; }