Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Deque.AxeCore.Commons" Version="4.11.3" />
<PackageReference Include="Deque.AxeCore.Commons" Version="4.13.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net48' ">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Deque.AxeCore.Selenium" Version="4.11.3" />
<PackageReference Include="Deque.AxeCore.Selenium" Version="4.13.0" />
<PackageReference Include="Selenium.WebDriver" Version="4.46.0" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/AxaFrance.WebEngine.Mcp/AxaFrance.WebEngine.Mcp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<ItemGroup>
<PackageReference Include="JiraSharp" Version="13.100.6" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.23.0" />
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="1.4.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.2.1" />
<PackageReference Include="ModelContextProtocol.AspNetCore" Version="2.2.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="10.2.3" />
</ItemGroup>
<ItemGroup>
<Folder Include="Connected Services\" />
Expand Down
30 changes: 0 additions & 30 deletions src/AxaFrance.WebEngine.Mcp/Dockerfile

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function getName(el) {
} catch(e) {}
}

// 4. Enclosing <label> � strip the control's own text
// 4. Enclosing <label> & strip the control's own text
var pl = el.closest ? el.closest('label') : null;
if (pl) {
var clone = pl.cloneNode(true);
Expand Down Expand Up @@ -224,7 +224,7 @@ function walk(el, depth) {

return lines.length > 0
? lines.join('\n')
: '(no accessibility tree found � the page likely has poor ARIA markup; use GetPageHtml as fallback)';
: '(no accessibility tree found. the page likely has poor ARIA markup; use GetPageHtml as fallback)';
})();
""";

Expand Down
1 change: 0 additions & 1 deletion src/AxaFrance.WebEngine.MobileApp/AppFactory.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright (c) 2016-2022 AXA France IARD / AXA France VIE. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// Modified By: YUAN Huaxing, at: 2022-5-13 18:26
using AngleSharp.Common;
using Newtonsoft.Json.Linq;
using OpenQA.Selenium.Appium;
using OpenQA.Selenium.Appium.Android;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Appium.WebDriver" Version="8.2.0" />
<PackageReference Include="Appium.WebDriver" Version="8.3.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="Selenium.WebDriver" Version="4.43.0" />
<PackageReference Include="Selenium.WebDriver" Version="4.46.0" />
<PackageReference Include="System.Drawing.Common" Version="10.0.11" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@

<ItemGroup>
<PackageReference Include="AvalonEdit" Version="6.3.1.120" />
<PackageReference Include="LiveChartsCore.SkiaSharpView.WPF" Version="2.0.4" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.4022.49" />
<PackageReference Include="LiveChartsCore.SkiaSharpView.WPF" Version="2.0.5" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.4191.47" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions src/AxaFrance.WebEngine.Web/AxaFrance.WebEngine.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@


<ItemGroup>
<PackageReference Include="Appium.WebDriver" Version="8.2.0" />
<PackageReference Include="Appium.WebDriver" Version="8.3.2" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
<PackageReference Include="Selenium.Support" Version="4.43.0" />
<PackageReference Include="Selenium.WebDriver" Version="4.43.0" />
<PackageReference Include="WebDriverManager" Version="2.17.7" />
<PackageReference Include="Selenium.Support" Version="4.46.0" />
<PackageReference Include="Selenium.WebDriver" Version="4.46.0" />
<PackageReference Include="System.Drawing.Common" Version="10.0.11" />
</ItemGroup>

<ItemGroup>
Expand Down
7 changes: 0 additions & 7 deletions src/AxaFrance.WebEngine.Web/BrowserFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
using System.Net;
using System.Runtime.CompilerServices;
using System.Threading;
using WebDriverManager.DriverConfigs.Impl;
using WebDriverManager.Helpers;
using static System.Environment;

[assembly: InternalsVisibleTo("WebRunner")]
Expand Down Expand Up @@ -426,7 +424,6 @@ private static object GetBrowserStackBrowserName(BrowserType browser)

private static WebDriver GetEdgeDriver(IEnumerable<string> browserOptions)
{
new WebDriverManager.DriverManager().SetUpDriver(new EdgeConfig(), "MatchingBrowser");
OpenQA.Selenium.Edge.EdgeOptions options = new OpenQA.Selenium.Edge.EdgeOptions()
{
AcceptInsecureCertificates = true,
Expand All @@ -439,7 +436,6 @@ private static WebDriver GetEdgeDriver(IEnumerable<string> browserOptions)

private static WebDriver GetChromeDriver(IEnumerable<string> browserOptions)
{
string version = "MatchingBrowser";
var options = new OpenQA.Selenium.Chrome.ChromeOptions()
{
AcceptInsecureCertificates = true,
Expand Down Expand Up @@ -487,20 +483,17 @@ private static WebDriver GetChromeDriver(IEnumerable<string> browserOptions)
options.AddArgument("no-sandbox");
if (browserOptions != null) options.AddArguments(browserOptions);

new WebDriverManager.DriverManager().SetUpDriver(new ChromeConfig(), version);
OpenQA.Selenium.Chrome.ChromeDriver cd = new OpenQA.Selenium.Chrome.ChromeDriver(options);
return cd;
}

private static WebDriver GetFirefoxDriver(IEnumerable<string> browserOptions)
{
var binaryPath = new WebDriverManager.DriverManager().SetUpDriver(new FirefoxConfig(), VersionResolveStrategy.Latest);
var directories = System.IO.Directory.GetDirectories($"{Environment.GetEnvironmentVariable("APPDATA")}\\Mozilla\\Firefox\\Profiles");
var d = directories.First(x => x.EndsWith("default"));
OpenQA.Selenium.Firefox.FirefoxProfile profile = new OpenQA.Selenium.Firefox.FirefoxProfile(d);
OpenQA.Selenium.Firefox.FirefoxOptions firefoxOptions = new OpenQA.Selenium.Firefox.FirefoxOptions();
firefoxOptions.AcceptInsecureCertificates = true;
firefoxOptions.BinaryLocation = binaryPath?.ToString();
firefoxOptions.Profile = profile;
if (browserOptions != null) firefoxOptions.AddArguments(browserOptions);
OpenQA.Selenium.Firefox.FirefoxDriver driver = new OpenQA.Selenium.Firefox.FirefoxDriver(firefoxOptions);
Expand Down
4 changes: 2 additions & 2 deletions src/Samples.Gherkin/Samples.Gherkin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
<PackageReference Include="Reqnroll.NUnit" Version="3.3.4" />
<PackageReference Include="nunit" Version="4.6.1" />
<PackageReference Include="NUnit3TestAdapter" Version="6.2.0" />
<PackageReference Include="NUnit3TestAdapter" Version="6.3.0" />
<PackageReference Include="FluentAssertions" Version="8.10.0" />
</ItemGroup>

Expand Down
6 changes: 3 additions & 3 deletions src/Samples.LinearScripting/Samples.LinearScripting.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.6.0" />
<PackageReference Include="MSTest.TestAdapter" Version="4.2.3" />
<PackageReference Include="MSTest.TestFramework" Version="4.2.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="4.3.3" />
<PackageReference Include="MSTest.TestFramework" Version="4.3.3" />
<PackageReference Include="coverlet.collector" Version="10.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
Loading
Loading