/// <summary> /// Disposes the specified disposing. /// </summary> /// <param name="disposing">The disposing.</param> protected virtual void Dispose(bool disposing) { if (!disposing) { return; } OriginalDriver.Dispose(); }
/// <summary> /// Instructs the driver to send future commands to a different frame or window. /// </summary> /// <returns> /// An <see cref="T:OpenQA.Selenium.ITargetLocator" /> object which can be used to select. /// a frame or window. /// </returns> public ITargetLocator SwitchTo() { return(OriginalDriver.SwitchTo()); }
/// <summary> /// Instructs the driver to navigate the browser to another location. /// </summary> /// <returns> /// An <see cref="T:OpenQA.Selenium.INavigation" /> object allowing the user to access. /// the browser's history and to navigate to a given URL. /// </returns> public INavigation Navigate() { return(OriginalDriver.Navigate()); }
/// <summary> /// Instructs the driver to change its settings. /// </summary> /// <returns> /// An <see cref="T:OpenQA.Selenium.IOptions" /> object allowing the user to change. /// the settings of the driver. /// </returns> public IOptions Manage() { return(OriginalDriver.Manage()); }
/// <summary> /// Quits this driver, closing every associated window. /// </summary> public void Quit() { OriginalDriver.Quit(); }
/// <summary> /// Close the current window, quitting the browser if it is the last window currently open. /// </summary> public void Close() { OriginalDriver.Close(); }