The Mobile Checker is a tool for Web developers who want to make their Web page or Web app work better on mobile devices.
The Mobile Checker was built to provide all of us web developers with a new and helpful experience of mobile Web developement. We built the base. Now join us, and make it grant your wishes. We hope you will make it awesome.
How does it work?
This tool is a full JavaScript Web application built with Node.js and Selenium WebDriver. Based on the mobile Web browser emulator API, the Mobile Checker combines powerful technologies to simulate a Web browser on a mobile device. That's why, contrary to most of the current online mobile emulators, the Mobile Checker can provide an emulation close to what your Web app looks like on different kinds of mobile devices, including tablets and smartphones.
Installation
Mobile Checker is a Node application. It will eventually be distributed through npm, but in the meantime you can simply clone this repository:
git clone https://github.com/w3c/Mobile-Checker.git
-
Install Node.js
-
Install npm dependencies:
npm install -d
-
In addition to the npm dependencies, install:
- Google Chrome
- browsermob-proxy running on port 8080
- ImageMagick
- XVFB
Running
In your terminal, run:
node app.js
Then, connect on the localhost:3000 port.
Testing
Testing is done using mocha. Simply run:
mocha --timeout 30000
from the root and you will be running the test suite. Mocha can be installed with:
npm install -g mocha
Feedback and contributions
- Send feedback about the tool and join us on the mailing list.
- Discuss about the Mobile Checker in our Gitter room.
- Report a bug and open an issue on Github.
- Send a feature request on Github.
- Contribute to the Mobile Checker by first reading the contribution guidelines.