O'Reilly logo

Selenium WebDriver Recipes in C#, Second Edition by Zhimin Zhan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22

image

Gotchas

For the most part, the Selenium WebDriver API is quite straightforward. Here is a one-sentence summary: Find an element and perform an operation on it. Writing test scripts in Selenium WebDriver is much more than knowing the API; it involves programming, HTML, JavaScript, and web browsers. There are cases that can be confusing to newcomers.

Test starts browser but no execution with blank screen

A very possible cause of this problem is that the version of Selenium WebDriver installed is not compatible with the version of your browser. Figure 22-1 is a screenshot of Firefox 41.0.2 started by a Selenium WebDriver 2.44.0 test.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required