10

The Samsung Browser is not Chrome nor Android stock browser. And our webdev teams have some bugs that only show up on this specific browser.

Is there any way I can remotely debug it as I can do with Chrome or Firefox? Either on an emulator or a real device.

1
  • 2
    it's the "Internet" app on samsung devices. user agent string is Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; GT-P5210 Build/KOT49H) AppleWebkit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30 my best guess is the stock android browser with some samsung bugs added
    – gcb
    Dec 22, 2015 at 13:11

2 Answers 2

15

The new Samsung Internet browser is based on the Chromium browser and thus supports its remote debugging interface.

  1. Enable USB debugging on your device as described here.
  2. Then connect your device via USB (Oh, surprise!).
  3. Visit chrome://inspect on your computers Google Chrome browser and you will be guided to create the connection:

    Chrome inspect

  4. Then you just have to click on the devices inspect link and an developer tools window will pop up.

More info like why there is an Samsung Internet Browser at all can be found here.

1

Type about:debug or about:console in a new tab (one of these will work), then try to send something to the console.log in your JavaScript.

At the top of your page will appear "SHOW JAVASCRIPT CONSOLE", click on it and you will have the console log with the possible error message you are looking for.

2
  • 1
    This doesn't work on my Galaxy Tab A (2016).
    – jlh
    Jun 9, 2017 at 7:18
  • 1
    this does not work on s8+ May 14, 2018 at 20:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .