From b1cc1f1e68fb23fbb6a4a9ee94daab9c7fdd61cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alaksiej=20Miale=C5=A1ka?= Date: Thu, 11 Jul 2024 16:21:48 +0200 Subject: [PATCH] Update to use Selenium 4.21.0 (#253) * Update to use Selenium 4.21.0 * Update BrokenImage to match channels count to Selenium's screenshot --- .../Aquality.Selenium/Aquality.Selenium.csproj | 12 ++++++------ .../Aquality.Selenium.Tests.csproj | 2 +- .../Integration/DevToolsEmulationTests.cs | 6 +++--- .../Resources/BrokenImage.png | Bin 1009 -> 942 bytes 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj b/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj index a3cebe75..33533619 100644 --- a/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj +++ b/Aquality.Selenium/src/Aquality.Selenium/Aquality.Selenium.csproj @@ -86,14 +86,14 @@ - + - - - + + + - - + + diff --git a/Aquality.Selenium/tests/Aquality.Selenium.Tests/Aquality.Selenium.Tests.csproj b/Aquality.Selenium/tests/Aquality.Selenium.Tests/Aquality.Selenium.Tests.csproj index d67d24fd..cea9b59d 100644 --- a/Aquality.Selenium/tests/Aquality.Selenium.Tests/Aquality.Selenium.Tests.csproj +++ b/Aquality.Selenium/tests/Aquality.Selenium.Tests/Aquality.Selenium.Tests.csproj @@ -34,7 +34,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/DevToolsEmulationTests.cs b/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/DevToolsEmulationTests.cs index 002dbbab..cad43bd4 100644 --- a/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/DevToolsEmulationTests.cs +++ b/Aquality.Selenium/tests/Aquality.Selenium.Tests/Integration/DevToolsEmulationTests.cs @@ -59,11 +59,11 @@ public void Should_BePossibleTo_SetAndClearDeviceMetricsOverride_WithVersionSpec { void setAction(long width, long height, bool isMobile, double scaleFactor) { - var parameters = new OpenQA.Selenium.DevTools.V124.Emulation.SetDeviceMetricsOverrideCommandSettings + var parameters = new OpenQA.Selenium.DevTools.V125.Emulation.SetDeviceMetricsOverrideCommandSettings { - DisplayFeature = new OpenQA.Selenium.DevTools.V124.Emulation.DisplayFeature + DisplayFeature = new OpenQA.Selenium.DevTools.V125.Emulation.DisplayFeature { - Orientation = OpenQA.Selenium.DevTools.V124.Emulation.DisplayFeatureOrientationValues.Horizontal + Orientation = OpenQA.Selenium.DevTools.V125.Emulation.DisplayFeatureOrientationValues.Horizontal }, Width = width, Height = height, diff --git a/Aquality.Selenium/tests/Aquality.Selenium.Tests/Resources/BrokenImage.png b/Aquality.Selenium/tests/Aquality.Selenium.Tests/Resources/BrokenImage.png index 805d272134ecbd56bae7966b1d3ee104ab865ca9..89de85f62f1d7d59988899a69382cce97712c285 100644 GIT binary patch literal 942 zcmeAS@N?(olHy`uVBq!ia0vp^6+j%t!2~4#B(d%QQjEnx?oJHr&dI!FU|`Phba4!+ znDh4T`E21#nd2Yd8ykB@Nw3Ylx=K4Nj9HhPb*oa)%_fDW>aSbWxvRd_e|U8AaM!&( z5mhh4Y~Hx8-r%?4#lc7XTALQ_$l17V%CE(_vwSYie7?KA)3d%Kht*#3;pbf`C(b-P zJ-aj-URYK1 z=Eq6jwYj^VaVgLGTbz@WlvHR~|KPyC5Utkvn;1i!UOO#tO;+A*ReI=Z(2CmH+D@0G znwmZP_wQf1a;4bfYv$_z0=6y<5bHJ*zwvCz$u}R$N_Xr$@Qf*1BP!d~rK+mRXy%z4 zHzMrjum5Ps zt@HMr3)#*mdUN~TY|ojg=~tt8554$sQTS!r`QoF7X^HRnyKNx2H|Hx%ueIyIV?g zj-EBxWY)Fl=hFK5=kHd1sXOwqr(;WHEc@;HyLXE|96$GMuk{a>zrCkUUyjNSU3;n| z@zcNGtNow3JwB!M$?(tfcV}E@*9nB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