cef-dom-hwnd-map-window-identification can not select App

Bug reports.
huzur
Posts: 1
Joined: Fri Sep 30, 2022 8:42 am

cef-dom-hwnd-map-window-identification can not select App

Post by huzur » Sat Oct 01, 2022 4:54 pm

hi guys,

i have a problem with my Ranorex installation.

Unfortunately, I cannot select the elements in the app.
I get the following message: cef-dom-hwnd-map-window-identification

I have already changed the port several times but unfortunately without success.

Code: Select all

 --remote-debugging-port=9222
I am testing a windows APP with electron content.

i hope sameone can help me.
You do not have the required permissions to view the files attached to this post.

IvanF
Posts: 151
Joined: Thu Aug 11, 2022 8:55 pm

Re: cef-dom-hwnd-map-window-identification can not select App

Post by IvanF » Tue Oct 04, 2022 5:52 pm

hi, could you please share the Ranorex version you are using, the CEF plugin settings (top ribbon, right side "Open Settings", then the last tab "Plugins"), and whether you have adjusted any other packages via the manager?

rka
Posts: 35
Joined: Fri Jul 03, 2015 7:54 am

Re: cef-dom-hwnd-map-window-identification can not select App

Post by rka » Wed Dec 14, 2022 7:57 am

Hello,

as the original poster didn't give any more information, I'd like to address this problem myself.

I'm trying to automate VS Code with Ranorex 10.5.
When I just call "code" from the command line, I get the cef-chrome-debug-port-used error message when trying to spy on the VS Code window. That's expected.

When I call

Code: Select all

code --remote-debugging-port=9090
then I get the cef-dom-hwnd-map-window-identification error message. All Ranorex sees is the VSCode Form and inside the form it sees only an Element object named "Chrome Legacy Window". It has an orange exclamation mark in the object tree.

The CEF Plugin properties are:
- DOM pageurl regex black-list: empty String[] Array
- Force win32 rectangle for dom element: false
- Process name black list: String[] Array with two entries: spotify, chrome
- WPF window rule FullType white list: empty String[] Array

I'm pretty sure, that with a previous version of Ranorex I was able to browse the elements inside of (a previous version of) VSCode.

Apo_IS
Posts: 3
Joined: Wed Sep 28, 2022 8:47 am

Re: cef-dom-hwnd-map-window-identification can not select App

Post by Apo_IS » Thu Aug 31, 2023 7:29 am

Did you find a solution? I'm currently struggling with the same issue.