We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c9827e commit 1b07763Copy full SHA for 1b07763
examples/dotnet/SeleniumDocs/BaseTest.cs
@@ -39,6 +39,11 @@ protected void StartDriver(string browserVersion = null)
39
if (browserVersion != null)
40
{
41
options.BrowserVersion = browserVersion;
42
+ string userDataDir = System.IO.Path.Combine(System.IO.Path.GetTempPath(), System.IO.Path.GetRandomFileName());
43
+ System.IO.Directory.CreateDirectory(userDataDir);
44
+ options.AddArgument($"--user-data-dir={userDataDir}");
45
+ options.AddArgument("--no-sandbox");
46
+ options.AddArgument("--disable-dev-shm-usage");
47
}
48
driver = new ChromeDriver(options);
49
0 commit comments