Can CEF be used as a full fledged browser control ?

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Can CEF be used as a full fledged browser control ?

Postby anishphilip » Thu Jan 13, 2011 4:06 am

We have an application that uses Internet Explorer's browser control to navigate to sites and scrape information by listening to page load events and parsing and accessing the DOM once its ready. My question - does CEF has all the capabalities of the IE browser control ? similar to what is listed here - http://msdn.microsoft.com/en-us/library ... 44(v=vs.85).aspx#wb_using_cpp. If Yes How can I use it ? Is it based on COM ? I have a java layer which interacts with the layer (written in C++) that hosts the browser control via a JAVA-COM bridge.
anishphilip
Newbie
 
Posts: 8
Joined: Wed Feb 24, 2010 6:05 am

Re: Can CEF be used as a full fledged browser control ?

Postby magreenblatt » Thu Jan 13, 2011 9:52 am

CEF is not a 100% drop-in replacement for other browser controls but it supports most of the same functionality. You will have to judge whether it supports all of the functionality that you need. See http://code.google.com/p/chromiumembedd ... neralUsage and the cefclient application for example usage. A Java wrapper for CEF has been started @ http://code.google.com/p/javachromiumembedded/ but doesn't appear to be complete.

Regards,
Marshall
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Can CEF be used as a full fledged browser control ?

Postby anishphilip » Thu Jan 13, 2011 11:03 am

Marshall,

Thanks for the pointers. The reason we are looking for a replacement for IE is the fact that is no reliable solution to determine page loads in IE. This makes lives very difficult for us as none of the techniques recommended by MSFT (http://goo.gl/erl6c) work all the time. Does CEF have a reliable technique to determine page loads which will work all the time ?
anishphilip
Newbie
 
Posts: 8
Joined: Wed Feb 24, 2010 6:05 am

Re: Can CEF be used as a full fledged browser control ?

Postby magreenblatt » Thu Jan 13, 2011 11:15 am

Does CEF have a reliable technique to determine page loads which will work all the time ?

There is no guaranteed method for detecting page load completion due to the dynamic nature of most Web sites (iframes, JS timers, etc). As of revision 162 CEF provides detailed notification of main content vs iframe loading -- this may or may not be sufficient depending on the Web site in question.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Can CEF be used as a full fledged browser control ?

Postby anishphilip » Thu Jan 13, 2011 12:53 pm

Ok. Does CEF support DOM access ?
anishphilip
Newbie
 
Posts: 8
Joined: Wed Feb 24, 2010 6:05 am

Re: Can CEF be used as a full fledged browser control ?

Postby magreenblatt » Thu Jan 13, 2011 1:38 pm

magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 19 guests