How to do bug testing of webApp on Android Device? - android

My website shows some bugs on my Android mobile chrome, on laptop Mobile device screen it works fine. I already tried https://developer.chrome.com/docs/devtools/remote-debugging/ but my Realme phone not detected at all. What alternate I can do to catch bugs on Android browser.

You can debug via Eruda Console for Mobile Browsers
https://github.com/liriliri/eruda

Related

Google Chrome remote debugging not showing anything

My workplace develops hybrid mobile apps for iOS and Android using the ionic framework.
This means that on-device debugging mostly happens through Chrome's remote debugging feature.
However, I have the following issue when attempting to debug our apps on my phone:
Screenshot of chrome://inspect
As you can see, Chrome displays my device, but does not view any of my tabs or WebView instances. This is independent of what chrome version or WebView implementation is currently in use, it just shows nothing.
I should mention running/installing etc. apps via ADB works fine and the device is detected. Just chrome remote debugging is completely non-functional.
My Device is Xiaomi Poco X3 running ArrowOS 11.0 (Android R).
Is there anything I am missing here?

How to webkit-inspect the Samsung Browser on Android?

My Android (4.4.2) ships two browsers: chrome and 'The Appplication Called Internet'. Using chrome://inspect, I can remotely debug Chrome on the phone in Chrome on my computer, like this
https://developers.google.com/web/tools/chrome-devtools/debug/remote-debugging/remote-debugging
Is there a way to do the same with The Appplication Called Internet ?

debugging web page css on an android phone

We can use the inspect element/mobile device emulator in Chrome to add/edit CSS on live sites and see how the site behaves. Is it possible to do the same directly on an android phone or tablet, somehow?
I have been asked to improve a site (but I don't have server access) but have noticed that its navigation behaves differently in the Chrome emulator and on my Android devices. (It might be a javascript that interferes or does something on the phone that is not picked up in the emulator)
If you're running a modern version of Chrome, you can use the Remote Debugging feature for Android devices. This require:
Chrome 32 or later installed on your development machine.
A USB cable to connect your Android device.
For browser debugging: Android 4.0+ and Chrome for Android.
For app debugging: Android 4.4+ and a WebView configured for debugging.
The full details are documented at the linked page from Google's documentation, but the process essentially consists of connecting the device to your computer, enabling ADB debugging, and navigating to chrome://inspect in Chrome on the computer. From there, you'll be able to use the inspector on the Desktop Chrome instance to debug into your pages within the mobile Chrome instance.

Android AVD Emulator Dev Tools for Mobile Browser?

I'm working on a mobile web app. I have a variety of devices I'm testing with but one device I do not have is an Android device running Android 2.3.x. I've resorted to using Android AVD emulators via Eclipse.
It's good using the emulator for testing, however a few CSS styles of my web app render strangely in the Android 2.3.x Web Browser.
Is there any way to debug or experiment with the CSS using the default Android browser in an AVD emulator? I'm not sure if it's possible to somehow examine and alter the CSS in the browser so that I can figure out what the problem is (similar to what you do with Chrome dev tools or Firebug).
I've read that there is some way to do this using mobile Chrome for Android where it connects with Chrome on your desktop and you debug it that way... But I'm not sure about the default Android 2.3.x Browser.
You can connect from Chrome on your desktop to either an emulated Android device (e.g. an AVD started from Android Studio), or a usb connected real device (with USB debug enabled), running Chrome. Type in the following url into the desktop Chrome browser:
chrome://inspect/#devices
Then it will list any connected devices you can interact with. For example, you can get it to open a specific url and then inspect that tab - which provides for access to the web dev tools console - just like on desktop Chrome.

App installed on Motorola RAZR Android (version 2.3.6) device in not going thru proxy

I'm seeing a weird issue with setting up a wifi proxy in Motorola Razr with android version 2.3.6. I'm able to set the wifi proxy properly. I've tested it by running browser from phone and seeing data passing by the proxy debugging tool (charles). But when I fire up the app, requests doesn't flow thru charles anymore.
Do you have any idea, why apps behave differently than browser?
Thanks.
Simple. Every app developer should use the proxy if it's set. But sometimes they don't.

Categories

Resources