Обновил Selenide до 6.17.0 версии, так как но новом браузере Хром не запускались тесты, как раз то что было исправлено в новой версии Selenide. Но тесты которые проходили начали падать и браузер удасно тормозит. Не могу понять в чем проблема, может что сталкивался ?
Да же самый простой тест
public void successfulLoginTest() {
open("/", MainPage.class)
.headerPage()
.clickLoginButton()
.authorizeAsOldUser(loginUserPhone)
.submitSmsCode(loginUserPhone)
.assertUserNameShouldHaveText("Test Test.");
}
Логи и ошибка вот такая
WARNING: Unable to find an exact match for CDP version 116, so returning the closest version found: 115
[ForkJoinPool-1-worker-1] INFO com.codeborne.selenide.webdriver.WebDriverFactory - BrowserName=chrome Version=116.0.5845.96 Platform=mac
[ForkJoinPool-1-worker-1] INFO com.codeborne.selenide.webdriver.WebDriverFactory - Selenide v. 6.17.0
[ForkJoinPool-1-worker-1] INFO com.codeborne.selenide.webdriver.WebDriverFactory - Selenium WebDriver v. 4.11.0 build revision: 040bc5406b
[ForkJoinPool-1-worker-1] INFO com.codeborne.selenide.drivercommands.CreateDriverCommand - Created webdriver in thread 18: ChromeDriver → ChromeDriver: chrome on mac (9287049d36d024f864ced206ba92dfb6)
[ForkJoinPool-1-worker-1] INFO com.codeborne.selenide.drivercommands.DisposablesRegistry - Register WebDriverInstance[config=StaticConfig,webDriver=ChromeDriver: chrome on mac (9287049d36d024f864ced206ba92dfb6),proxy=null,downloadsFolder=/ete-test/build/downloads/1692300843360_41207_18] in 18 [size=1]
[ForkJoinPool-1-worker-1] INFO com.codeborne.selenide.drivercommands.DisposablesRegistry - Add shutdown hook in 18 [size=1]
авг. 17, 2023 10:34:05 PM org.openqa.selenium.devtools.Connection$Listener lambda$onText$0
WARNING: Unable to process: {“method”:“Fetch.requestPaused”,“params”:{“requestId”:“interception-job-23.0”,“request”:{“url”:“https://qa.env.com/_next/static/utySZjFDT--FUMha9FcTZ/_ssgManifest.js",“method”:“GET”,“headers”:{“Accept”:“*/*”,“Cookie”:"CANARY=never; __cf_bm=CqgcIWNKk3nQw5tJGhzsp4dFmVSgxOTZAF62qPVtq8g-1692300845-0-AQUbx9K5IpEs03zrc2te8qkjrobX7iE0G9u4GEiYtHTzRd2fcCgW5Iamk7d5YGlAQayeJesFfzm4RMYctY0VLF4=”,“Referer”:“https://www-qa.profee.com/ru",“User-Agent”:"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36”,“sec-ch-ua”:“"Chromium";v="116", "Not)A;Brand";v="24", "Google Chrome";v="116"”,“sec-ch-ua-mobile”:“?0”,“sec-ch-ua-platform”:“"macOS"”},“initialPriority”:“High”,“referrerPolicy”:“strict-origin-when-cross-origin”},“frameId”:“8748564E6F73B2AE0BD9EE61A4BDF”,“resourceType”:“Script”},“sessionId”:“A18BFC8342B4155A5F78280FBD434”}
org.openqa.selenium.devtools.DevToolsException: {“id”:115,“error”:{“code”:-32602,“message”:“Invalid InterceptionId.”},“sessionId”:“A18BFC8342B4155A5F78280FBD434”}
Build info: version: ‘4.11.0’, revision: ‘040bc5406b’
System info: os.name: ‘Mac OS X’, os.arch: ‘aarch64’, os.version: ‘13.4.1’, java.version: ‘17.0.6’
Driver info: driver.version: unknown
at org.openqa.selenium.devtools.Connection.sendAndWait(Connection.java:181)
at org.openqa.selenium.devtools.DevTools.send(DevTools.java:81)
at org.openqa.selenium.devtools.idealized.Network.lambda$prepareToInterceptTraffic$4(Network.java:233)
at org.openqa.selenium.devtools.Connection.lambda$handle$4(Connection.java:321)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
at java.base/java.util.stream.ReferencePipeline$15$1.accept(ReferencePipeline.java:541)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1707)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at org.openqa.selenium.devtools.Connection.handle(Connection.java:287)
at org.openqa.selenium.devtools.Connection.access$200(Connection.java:57)
at org.openqa.selenium.devtools.Connection$Listener.lambda$onText$0(Connection.java:224)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Версия Хром : Версия 116.0.5845.96