Skip to content

Commit

Permalink
Update selenium lib
Browse files Browse the repository at this point in the history
  • Loading branch information
yagoluiz committed Mar 29, 2024
1 parent d816c15 commit d05d762
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/Juridical.Core/Builders/LegalProcessBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@ public class LegalProcessBuilder

public LegalProcessBuilder(string uri)
{
var options = new ChromeOptions();
options.AddArgument("--headless");

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

Expand Down
4 changes: 2 additions & 2 deletions src/Juridical.Core/Juridical.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageReference Include="Selenium.WebDriver" Version="4.8.1" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="111.0.5563.6400" />
<PackageReference Include="Selenium.WebDriver" Version="4.19.0" />
<PackageReference Include="Selenium.WebDriver.ChromeDriver" Version="123.0.6312.5800" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"HEALTH_CHECK_URI": "http://*:5001",
"LEGAL_PROCESS_TOPIC_ID": "juridical.legal-process.resulted",
"INIT_ACTIVE_IN_HOURS": 5,
"WEB_DRIVER_URI": "http://localhost:4444/wd/hub",
"WEB_DRIVER_URI": "http://localhost:4444",
"LEGAL_PROCESS_URL": "https://projudi.tjgo.jus.br",
"LEGAL_PROCESS_SERVICE_KEY": "Magistrado UPJ",
"LEGAL_PROCESS_EXECUTE_IN_MILLISECONDS": 3000,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"HEALTH_CHECK_URI": "http://*:5001",
"LEGAL_PROCESS_TOPIC_ID": "juridical.legal-process.resulted",
"WEB_DRIVER_URI": "http://juridical-selenium:4444/wd/hub",
"WEB_DRIVER_URI": "http://juridical-selenium:4444",
"LEGAL_PROCESS_URL": "https://projudi.tjgo.jus.br",
"LEGAL_PROCESS_SERVICE_KEY": "Magistrado UPJ"
}

0 comments on commit d05d762

Please sign in to comment.