Page 1 of 1

Wrapped CEFsharp browser is not identified as CEFsharp

Posted: Wed May 12, 2021 1:38 pm
by MichielV
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:
testapplication_spy.png
spy with production application:
productionapplication_spy.png
debug port opened in browser with production application(multiple embedded browsers are open):
productionapplication_debugport.png

Re: Wrapped CEFsharp browser is not identified as CEFsharp

Posted: Thu May 13, 2021 10:05 am
by odklizec
Hi,

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:
https://www.ranorex.com/support-query/
I think they will need access to your app or, at very least, a functional sample app.