Wrapped CEFsharp browser is not identified as CEFsharp

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 16
Joined: Fri Sep 07, 2018 8:12 am

Wrapped CEFsharp browser is not identified as CEFsharp

Post by MichielV » Wed May 12, 2021 1:38 pm

Hi, In our application we have an embedded CEFsharp browser where the debug port is activated (accessible via localhost:8081). However, this does not seem to be recognized by Ranorex as being a CEFsharp browser.
I have created a simple test application with an embedded CEFsharp browser using the standard CEFsharp nuget package. When spying this test application, the CEFsharp browser is available and contains a DOM of the webpage.
In our main application however, the CEFsharp browser is wrapped in another class to make some of the functionality easier to use. Could this be the cause Ranorex does not properly recognize the CEFsharp browser? Are there any options to force Ranorex to recognize this as an embedded CEFsharp browser?

spy with test application:
spy with production application:
debug port opened in browser with production application(multiple embedded browsers are open):
You do not have the required permissions to view the files attached to this post.

User avatar
Ranorex Guru
Ranorex Guru
Posts: 7469
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Wrapped CEFsharp browser is not identified as CEFsharp

Post by odklizec » Thu May 13, 2021 10:05 am


I'm afraid, that this scenario was most probably not considered while Ranorex team added support for CEFSharp? If enabling remote debugging for CEFSharp (as mentioned in the user guide) does not help, then you will most probably have to contact directly Ranorex support, via support form available here:
I think they will need access to your app or, at very least, a functional sample app.
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration