Chapter 2

  1. What is the significance of WebDriver becoming a W3C specification?

WebDriver is now a W3C specification. This means browsers have to be fully compliant with WebDriver spec set by the World Wide Web Consortium (W3C for short) and will be supported natively by the browser vendor the HTML5 and CSS are other prominent W3C specifications.

  1. True or false: WebDriver is an interface.

True.

  1. Which browsers support headless testing?

Google Chrome and Mozilla Firefox.

  1. How can we test mobile websites with Chrome?

By using the Mobile Emulation feature.

Get Selenium WebDriver 3 Practical Guide - 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.