Skip to content

Commit

Permalink
No sandbox to be able to print a page
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Sep 20, 2024
1 parent 04704a1 commit a5bf483
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/dotnet/SeleniumDocs/BaseTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ protected void StartDriver(string browserVersion = "stable")
BrowserVersion = browserVersion,
UseWebSocketUrl = true,
};

options.AddArgument("--no-sandbox");

driver = new ChromeDriver(options);
}

Expand Down

0 comments on commit a5bf483

Please sign in to comment.