Tag Info

New answers tagged

0

Use driver.switchTo().frame(frameName)


0

Use driver.getWindowHandle() to see if the focus has switched to another window. This method returns a unique id for every frame. Use By.Id("frame1") to locate by id, this is much cleaner than XPath. Using sendKeys is equivalent to typing text on the keyboard. But you're sending this to a <p> element; as far as I know this will result is nothing. You ...


0

Instead of javascript{...} try to use javascript(...) (round brackets).


0

From your steps it seems you haven't installed selenium package for Node.js. Execute npm install selenium-webdriver Then run the test again


0

There's one more new and promising tool — Winium. Few more comments: Coded UI — official, from Microsoft; languages are Microsoft ones (C#, etc.). It should be stable, but scalability (parallel run) is a question, also you need some time to get familiar with it. Winium — third-party, promising & actively developed. Right now supports ...



Top 50 recent answers are included