Skip to content

Commit

Permalink
Update BrowserManager.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoK authored Mar 11, 2021
1 parent 5fc32e6 commit b8d84c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Shared/BrowserTesting/src/BrowserManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ async Task InitializeCore()
var driverPath = Environment.GetEnvironmentVariable("PLAYWRIGHT_DRIVER_PATH");
if (!string.IsNullOrEmpty(driverPath))
{
Playwright = await PlaywrightSharp.Playwright.CreateAsync(_loggerFactory, driverExecutablePath: driverPath /*, debug: "pw:api"*/);
Playwright = await PlaywrightSharp.Playwright.CreateAsync(_loggerFactory, driverExecutablePath: driverPath, debug: "pw:api");
}
else
{
Playwright = await PlaywrightSharp.Playwright.CreateAsync(_loggerFactory /*, debug: "pw:api"*/);
Playwright = await PlaywrightSharp.Playwright.CreateAsync(_loggerFactory, debug: "pw:api");
}
foreach (var (browserName, options) in _browserManagerConfiguration.BrowserOptions)
{
Expand Down

0 comments on commit b8d84c5

Please sign in to comment.