Skip to content

Commit

Permalink
Enhancement: replace unsupported enableVNC capabilities (#243)
Browse files Browse the repository at this point in the history
* replace enableVNC caps

* Update Aquality.Selenium.Core package reference
  • Loading branch information
mialeska authored Dec 1, 2023
1 parent 007b0e8 commit 228f374
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Aquality.Selenium.Core" Version="3.0.3" />
<PackageReference Include="Aquality.Selenium.Core" Version="3.0.4" />
<PackageReference Include="WebDriverManager" Version="2.17.1" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"chrome": {
"webDriverVersion": "MatchingBrowser",
"capabilities": {
"enableVNC": true,
"selenoid:options":
{
"enableVNC": true
},
"unhandledPromptBehavior": "default"
},
"options": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ public void Should_BePossibleTo_SetAndClearDeviceMetricsOverride_WithVersionSpec
{
void setAction(long width, long height, bool isMobile, double scaleFactor)
{
var parameters = new OpenQA.Selenium.DevTools.V116.Emulation.SetDeviceMetricsOverrideCommandSettings
var parameters = new OpenQA.Selenium.DevTools.V119.Emulation.SetDeviceMetricsOverrideCommandSettings
{
DisplayFeature = new OpenQA.Selenium.DevTools.V116.Emulation.DisplayFeature
DisplayFeature = new OpenQA.Selenium.DevTools.V119.Emulation.DisplayFeature
{
Orientation = OpenQA.Selenium.DevTools.V116.Emulation.DisplayFeatureOrientationValues.Horizontal
Orientation = OpenQA.Selenium.DevTools.V119.Emulation.DisplayFeatureOrientationValues.Horizontal
},
Width = width,
Height = height,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"chrome": {
"webDriverVersion": "MatchingBrowser",
"capabilities": {
"enableVNC": true,
"selenoid:options":
{
"enableVNC": true
},
"unhandledPromptBehavior": "ignore"
},
"options": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"chrome": {
"webDriverVersion": "MatchingBrowser",
"capabilities": {
"enableVNC": true,
"selenoid:options":
{
"enableVNC": true
},
"unhandledPromptBehavior": "ignore"
},
"options": {
Expand Down

0 comments on commit 228f374

Please sign in to comment.