Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the new mobile page checking tool Mobile Checker

Shulou Source: shulou.com Published: 2022-06-02 05:27:49 10月03日 Update

Today, I will talk to you about how to use the new mobile page checking tool Mobile Checker, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following content for you. I hope you can get something from this article.

Mobile Checker (official website) is a mobile page checking tool through which mobile Web developers can discover the problems of the site on the mobile side. Debugging Web pages or Web App runs more smoothly on mobile devices.

Mobile Checker provides a new and helpful mobile page development guide for mobile Web developers. At present, we have developed the basic functions, and now join us to develop better functions.

How to use it?

This tool is a pure JavaScript Web application based on Node.js and Selenium WebDriver. Based on Mobile Web browser emulator API.

Mobile Checker has powerful technology to simulate a Web browser on mobile devices. That's why, unlike most online mobile simulators on the market today, Mobile Checker provides a simulation that makes your Web App look like it's running on different mobile devices, including tablets and smartphones.

Installation

Mobile Checker is a Node application that will eventually be decibel through npm. But at the same time, you can also clone the warehouse:

Git clone: https://github.com/w3c/Mobile-Checker.git

Install Node.js

Install the npm module dependency management tools:

Npm install-d

In addition, install:

Google-chrome

Browsermob-proxy runs on port 8080

ImageMagick

XVFB

Running

Run on the terminal:

Node app.js

Then link to the localhost:3000 port.

test

To test with mocha, simply run:

Mocha-timeout 30000

From the root directory, run the test package. Install Mocha:

After reading the above npm install-g mocha, do you have any further understanding of how to use the new mobile page checking tool Mobile Checker? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Tags: Mobile run tool page development brand new check content device test different function developer port application powerful smooth at the same time warehouse join us Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Huawei Linux vpn Shulou Tech Info