How is this achieved? Here it says the java version is:
WebDriver driver; // Assigned elsewhere JavascriptExecutor js = (JavascriptExecutor) driver; js.executeScript("return document.title");
But I can't find the C# code to do this.