CHAPTER 22
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.
Get Selenium WebDriver Recipes in C#, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.