Charles Harries

| Stream


I didn't realise that there's a specification for controlling browsers. But there is.

Just learned about a new standardised specification: the WebDriver. The WebDriver specification is a language-agnostic (or more specifically, "language-neutral") interface for libraries that control browsers (or more specifically, "user-agents").

The original specification was created mostly based on the existing interface provided by Selenium, which for a while was synonymous with browser testing—but there are a broad range of libraries in a ton of different languages implementing the WebDriver spec.

The upshot of this is that if you're coming from a background in Python and need to pick up browser testing in Node or Go, you don't need to learn a new API.

WebDriver, W3C

Code Standards Web