Skip to content

Commit

Permalink
Update browserstack.py (#285)
Browse files Browse the repository at this point in the history
proposing these changes due to new updates in the url in browserstack, also an additional argument "keep_live" should be set true is suggested by browserstack
  • Loading branch information
rohitanand1614 committed Mar 23, 2022
1 parent 7813358 commit 2e27988
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pytest_selenium/drivers/browserstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def auth(self):

@property
def executor(self):
return "https://hub.browserstack.com/wd/hub"
return "https://hub-cloud.browserstack.com/wd/hub"

@property
def username(self):
Expand Down Expand Up @@ -102,5 +102,6 @@ def driver_kwargs(request, test, capabilities, **kwargs):
kwargs = {
"command_executor": provider.executor,
"desired_capabilities": capabilities,
"keep_alive": True
}
return kwargs

0 comments on commit 2e27988

Please sign in to comment.