Skip to content

Commit 655fa6b

Browse files
committed
Add quit logic to end the session
On BrowserStack it seems my sessions are staying open until they time out. That's making the tests take way too long. This is an attempt to force them closed more quickly.
1 parent c9578cc commit 655fa6b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CSF.Screenplay.Selenium/BrowseTheWeb.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ protected virtual void Dispose(bool disposing)
8383
{
8484
if (disposing)
8585
{
86+
webDriverAndOptions?.WebDriver.Quit();
8687
webDriverAndOptions?.Dispose();
8788
}
8889
disposedValue = true;

0 commit comments

Comments
 (0)