move saucelabs logic to selenium_client