Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename SauceLab job automatically #348

Open
mirekdlugosz opened this issue Jun 28, 2019 · 0 comments
Open

Rename SauceLab job automatically #348

mirekdlugosz opened this issue Jun 28, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mirekdlugosz
Copy link
Contributor

mirekdlugosz commented Jun 28, 2019

Issue created based on comment in code (line 299):

airgun/airgun/browser.py

Lines 212 to 230 in 7b37535

def _get_saucelabs_browser(self):
"""Returns saucelabs webdriver instance of selected ``browser``.
Note: should not be called directly, use :meth:`get_browser` instead.
:raises: ValueError: If wrong ``browser`` specified.
"""
self._webdriver = webdriver.Remote(
command_executor=_sauce_ondemand_url(
settings.selenium.saucelabs_user,
settings.selenium.saucelabs_key
),
desired_capabilities=self._get_webdriver_capabilities()
)
idle_timeout = settings.webdriver_desired_capabilities.idleTimeout
if idle_timeout:
self._webdriver.command_executor.set_timeout(int(idle_timeout))
# todo: attempt to rename job here
return self._webdriver

See also #344 (comment) for more details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant