Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

HasDevTools not works

Post Reply
Chinyaev
Posts: 38
Joined: Mon Mar 13, 2017 3:23 pm

HasDevTools not works

Post by Chinyaev »

Hi!

Property HasDevTools always is false. I think it not works.
User avatar
salvadordf
Posts: 4086
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: HasDevTools not works

Post 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.
Post Reply