Skip to content

Commit

Permalink
allow headless
Browse files Browse the repository at this point in the history
  • Loading branch information
sensslen committed Feb 27, 2024
1 parent 2241370 commit cba5253
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ public class UrlToLicenseMappingTest
[TestCaseSource(typeof(UrlToLicenseMapping), nameof(UrlToLicenseMapping.Default))]
public async Task License_Should_Be_Available_And_Match_Expected_License(KeyValuePair<Uri, string> mappedValue)
{
var driver = new ChromeDriver();
var options = new ChromeOptions();
options.AddArguments("--no-sandbox", "--disable-dev-shm-usage", "--headless");
var driver = new ChromeDriver(options);
try
{
driver.Navigate().GoToUrl(mappedValue.Key.ToString());
Expand Down

0 comments on commit cba5253

Please sign in to comment.