My attempted port of Selenium WebDriver to PowerShell 3