usechrome://inspect/#devices, enables WebView on Android phones to review elements, debug and test H5 pages on mobile phones as well as chrome

I use Huawei APAD, and my computer is Win 7 system. The steps are as follows:

  1. Make sure the phone is in debug mode and connected to the PC. In the phone Settings, Developer mode, USB debug, and ADB debug in “Charge only” mode are all enabled.
  2. Mobile phone or APAD to open a web page, as long as the webview form of the web page should be ok;
  3. Install the android debugging kit platform-tools connected to your phone or APAD on your PC (platform-tools download address)
  4. Configure the SDK environment variables after the download is complete
  • Start by typing echo $HOME in the terminal
  • Input touch. Following
  • Enter open-e. bash_profile. In the open edit box, enter export PATH=${PATH}:/Users/ user name/your SDK PATH /platform-tools as shown in the following figure

  1. Install the driver to connect apAD on the computer, enter CMD command: ADB Devices The following figure shows the device information, that is, the mobile phone has successfully connected to the computer;

  1. Enter: chrome://inspect/# Devices in the browser address bar

  1. Find the one you want to debug and make sure that the page on APAD is also active, then click the blue Inspect link to bring up a new debug page window

Note: if it appears, press inspect to find that the H5 page cannot come out and always displays blank. Need a wall climbing service