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.

Get Selenium WebDriver Recipes in C#, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.