Page 1 of 1

HasDevTools not works

Posted: Sat Nov 11, 2017 5:34 am
by Chinyaev
Hi!

Property HasDevTools always is false. I think it not works.

Re: HasDevTools not works

Posted: Mon Nov 13, 2017 9:54 am
by salvadordf
This is what the CEF comments say about that in /include/capi/cef_browser_capi.h

Code: Select all

  ///
  // Returns true (1) if this browser currently has an associated DevTools
  // browser. Must be called on the browser process UI thread.
  ///
Tha UI thread is not the main form thread. Perharps I should try calling it using CefPostTask(TID_UI, TempTask) like TChromium.RetrieveHTML.