Neh18
Neh18
We can use below code for double click on any element: ``` Actions action = new Actions(driver); action.MoveToElement(ContactFromList).Click().DoubleClick().Build().Perform(); ``` Perform a click() before DoubleClick() is for safe site. Application may...
I am facing same issue and not able to resolve with above suggestion. My case is : I have an application window, after clicking on button it opens next window...
You can try this code for your Switch window.. var currentWindowHandle = driver.CurrentWindowHandle; Thread.Sleep(TimeSpan.FromSeconds(10)); var allWindowHandles2 = driver.WindowHandles; driver.SwitchTo().Window(allWindowHandles2[0]);