The WebDriver API and wire protocol