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.

Emulation doesn't work

Post Reply
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Emulation doesn't work

Post by dilfich »

Hi!

MiniBrowser or MobileBrowser

On some Google pages, all these techniques do not work. However, if you do it manually through the devtools (for example in MobileBrowser), everything works.
Maybe something else needs to be included?

Image

and

Image
User avatar
salvadordf
Posts: 4056
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Emulation doesn't work

Post by salvadordf »

If this works on some pages and in some don't then this looks like an CEF or Chromium issue.

Try replacing HTTP headers in the TChromium.OnBeforeResourceLoad event.
dilfich
Posts: 330
Joined: Thu Nov 30, 2017 1:17 am

Re: Emulation doesn't work

Post by dilfich »

Change headers yes, exit.
But there is a suspicion that somehow we are working no correctly with the devtools api, we are missing something.
Post Reply