W3C releases Mobile Checker

W3C releases Mobile Checker

Mobile Checker (official website) is a mobile page inspection tool that mobile Web developers can use to find problems with their websites on mobile devices. Debugging Web pages or Web Apps can make them run more smoothly on mobile devices.

Mobile Checker provides a new and helpful guide for mobile web developers. We have developed basic functions, join us and develop better functions.

How to use?

This tool is a pure JavaScript web application built on Node.js and Selenium WebDriver. Based on the 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 emulators on the market, Mobile Checker can provide a simulation that makes your web app look like it is running on different mobile devices (including tablets and smartphones).

Install

Mobile Checker is a Node application that will eventually be distributed via npm. But in the meantime you can clone this repository:

  1. git clone: ​​https://github.com/w3c/Mobile-Checker.git  
  • Install Node.js

  • Install the npm module dependency management tool:

    1. npm install -d

In addition, you need to install:

  • google-chrome

  • browsermob-proxy runs on port 8080

  • ImageMagick

  • XVFB

run

Run in terminal:

  1. node app.js

Then connect to localhost:3000 port.

test

To test using mocha, just run:

  1. mocha --timeout 30000  

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

  1. npm install -g mocha

Feedback and Contributions

  • Tool Feedback and Discussion ( link )

  • Bug, issue and request submission (link)


PS. The above is the translation, the original text is: Mobile-Checker, if there is anything inappropriate, please feel free to correct me.

<<:  Getting started with React and Webpack

>>:  What's new with AeroGear in Windows 10

Recommend

Please fill in the blank: Eat meat but not garlic, ___________

Audit expert: Wang Guoyi Postdoctoral fellow in N...

What is the generally good keyword density for a website?

What is the generally good keyword density for a ...

A huge flare! What are the effects? →

According to the National Space Weather Monitorin...

How to optimize keywords and rank on Baidu’s homepage?

In the past few years, there are some things that...