/// <summary> ///Method to perform mouse doubleclick action. /// </summary> public void DoubleClick() { _selenium = Browser.GetSeleniumOne(); _selenium.DoubleClick(Attribute); }
/// <summary> /// Method to get the instance of selenium version 1.3 /// </summary> /// <returns>Selenium instance</returns> public static Selenium.DefaultSelenium GetSeleniumOne() { if (_selenium == null) { _selenium = new Selenium.WebDriverBackedSelenium(Driver, Driver.Url); } try { _selenium.Start(); } catch (Exception) { // ignored } return _selenium; }