WebDriver: add a common way to run tests with pytest