{
  "$type": "site.standard.document",
  "createdAt": "2022-08-03T19:35:00+01:00",
  "description": "I didn't realise that there's a specification for controlling browsers. But there is.",
  "path": "/stream/webdriver",
  "publishedAt": "2022-08-03T19:35:00+01:00",
  "site": "at://did:plc:swxoj3wjlwodcqs5ipmvgnug/site.standard.publication/3mnv7gbn3czno",
  "tags": [
    "Code",
    "Standards",
    "Web"
  ],
  "textContent": "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",
  "title": "WebDriver",
  "updatedAt": "2022-08-03T19:48:04+01:00"
}