Hi Andrei, Mira,
Thank you for quick answers.
I have tried to use the settings Mira shared and at least I was able to run the Electron application.
Session seemed be opened but it couldn't find any element on the UI.
I received the following exception print out:
org.openqa.selenium.NoSuchWindowException: no such window: target window already closed
from unknown error: web view not found
(Session info: chrome=110.0.5481.104)
Build info: version: '4.11.0', revision: '040bc5406b'
System info:
os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.8.1'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [33ef0b901c0948e31e81465268b7db24, findElement {using=xpath, value=.//*/text()[normalize-space(translate(string(.), '
', ' ')) = "Next"]/parent::*}]
Also it reported a warning regarding missing selenium devtools maven import:
WARNING: Unable to find CDP implementation matching 110
okt 18, 2023 12:39:00 PM org.openqa.selenium.chromium.ChromiumDriver lambda$new$5
WARNING: Unable to find version of CDP to use for 110.0.5481.104. You may need to include a dependency on a specific version of the CDP using something similar to `org.seleniumhq.selenium:selenium-devtools-v86:4.11.0` where the version ("v86") matches the version of the chromium-based browser you're using and the version number of the artifact is the same as Selenium's.
Could you please share your thoughts if you know how could I try to solve those things?
Should I add a maven import for a specific selenium devtools version and where I could find the appropriate version number?
Best regards,
Sandra