Skip to content

Commit

Permalink
Обновлены пакеты NuGet
Browse files Browse the repository at this point in the history
  • Loading branch information
Валерий Гуров authored and Valeriy Gourov committed Mar 11, 2022
1 parent 7e87433 commit 39c2536
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
3 changes: 1 addition & 2 deletions Downloader/Downloader.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
<PackageReference Include="AngleSharp" Version="0.16.1" />
<PackageReference Include="AngleSharp.Io" Version="0.16.0" />
<PackageReference Include="Jint" Version="2.11.58" />
<PackageReference Include="Microsoft.Edge.SeleniumTools" Version="3.141.2" />
<PackageReference Include="Selenium.WebDriver" Version="3.141.0" />
<PackageReference Include="Selenium.WebDriver" Version="4.1.0" />
</ItemGroup>
</Project>
10 changes: 2 additions & 8 deletions Downloader/Engine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@
using Downloader.Models;
using Downloader.Pages;

using Microsoft.Edge.SeleniumTools;

using OpenQA.Selenium;
using OpenQA.Selenium.Edge;

namespace Downloader;

Expand Down Expand Up @@ -272,14 +271,9 @@ private bool SetCookies()
/// <returns>Новый экземпляр Selenium WebDriver.</returns>
private IWebDriver CreateWebDriver()
{
EdgeOptions options = new()
{
UseChromium = true
};

try
{
return new EdgeDriver(_settings.WebDriversPath, options);
return new EdgeDriver(_settings.WebDriversPath);
}
catch
//catch (DriverServiceNotFoundException exception)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
<Content Include="ItvdnLogo.ico" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="6.0.1" />
<PackageReference Include="Microsoft.Extensions.Options.DataAnnotations" Version="6.0.0" />
</ItemGroup>
</Project>

0 comments on commit 39c2536

Please sign in to comment.