Skip to content

Commit 2e27988

Browse files
Update browserstack.py (#285)
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
1 parent 7813358 commit 2e27988

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pytest_selenium/drivers/browserstack.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def auth(self):
1818

1919
@property
2020
def executor(self):
21-
return "https://hub.browserstack.com/wd/hub"
21+
return "https://hub-cloud.browserstack.com/wd/hub"
2222

2323
@property
2424
def username(self):
@@ -102,5 +102,6 @@ def driver_kwargs(request, test, capabilities, **kwargs):
102102
kwargs = {
103103
"command_executor": provider.executor,
104104
"desired_capabilities": capabilities,
105+
"keep_alive": True
105106
}
106107
return kwargs

0 commit comments

Comments
 (0)