Skip to content

Commit a5bf483

Browse files
committed
No sandbox to be able to print a page
1 parent 04704a1 commit a5bf483

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/dotnet/SeleniumDocs/BaseTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ protected void StartDriver(string browserVersion = "stable")
4040
BrowserVersion = browserVersion,
4141
UseWebSocketUrl = true,
4242
};
43+
44+
options.AddArgument("--no-sandbox");
45+
4346
driver = new ChromeDriver(options);
4447
}
4548

0 commit comments

Comments
 (0)