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

Browser WBT on Chrome: avoid "no such window: target window already closed" #1265

Merged
merged 4 commits into from
Sep 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Give the browser 1 sec before re-checking if driverService is finis…
…hed.
  • Loading branch information
ilonatommy committed Sep 10, 2024
commit a4021dec82f3697fc46d41131cf6251dd0ebf4cd
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ protected override async Task<ExitCode> InvokeInternal(ILogger logger)
driver.SwitchTo().Window(lastWindowHandle);
}
}
System.Threading.Thread.Sleep(1000);
ilonatommy marked this conversation as resolved.
Show resolved Hide resolved
if (driverService.IsRunning)
{
if (!cts.IsCancellationRequested && driver.WindowHandles.Count != 0)
Expand Down
Loading