Skip to content

Commit 131a6a8

Browse files
committed
Quit to browser when using separate sessions to prevent running out of
quotas
1 parent ef0629e commit 131a6a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/RunsOnBrowserStack.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,5 +298,9 @@ protected function updateBrowserStackSessionStatus(): void
298298
],
299299
]
300300
);
301+
302+
if (config('browserstack.separate_sessions')) {
303+
$browser->quit();
304+
}
301305
}
302306
}

0 commit comments

Comments
 (0)