LPS-49409 - Move webdriver logic into WebDriverHelper so it can be reused