Skip to content

Commit

Permalink
Add chrome options
Browse files Browse the repository at this point in the history
  • Loading branch information
yagoluiz committed Mar 29, 2024
1 parent b25d140 commit a32712e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Juridical.Core/Builders/LegalProcessBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ public class LegalProcessBuilder

public LegalProcessBuilder(string uri)
{
_webDriver = new RemoteWebDriver(new Uri(uri), new ChromeOptions());
var options = new ChromeOptions();
options.AddArguments("--no-sandbox", "--headless", "--disable-dev-shm-usage");

_webDriver = new RemoteWebDriver(new Uri(uri), options);
_legalProcess = new LegalProcess();
}

Expand Down

0 comments on commit a32712e

Please sign in to comment.