Skip to content

Commit db2a825

Browse files
committed
Remove breaking driver global arguments
1 parent 95c3444 commit db2a825

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotnet/test/common/Environment/DriverFactory.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public IWebDriver CreateDriverWithOptions(Type driverType, DriverOptions driverO
8686
options = GetDriverOptions<ChromeOptions>(driverType, driverOptions);
8787

8888
var chromeOptions = (ChromeOptions)options;
89-
chromeOptions.AddArguments("--no-sandbox", "--disable-dev-shm-usage", "--remote-debugging-pipe", "--enable-unsafe-extension-debugging");
89+
chromeOptions.AddArguments("--no-sandbox", "--disable-dev-shm-usage");
9090

9191
service = CreateService<ChromeDriverService>();
9292
if (!string.IsNullOrEmpty(this.browserBinaryLocation))
@@ -104,7 +104,7 @@ public IWebDriver CreateDriverWithOptions(Type driverType, DriverOptions driverO
104104
options = GetDriverOptions<EdgeOptions>(driverType, driverOptions);
105105

106106
var edgeOptions = (EdgeOptions)options;
107-
edgeOptions.AddArguments("--no-sandbox", "--disable-dev-shm-usage", "--remote-debugging-pipe", "--enable-unsafe-extension-debugging");
107+
edgeOptions.AddArguments("--no-sandbox", "--disable-dev-shm-usage");
108108

109109
service = CreateService<EdgeDriverService>();
110110
if (!string.IsNullOrEmpty(this.browserBinaryLocation))

0 commit comments

Comments
 (0)