Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Dependency Status](https://david-dm.org/w3c/mobile-web-browser-emulator.svg)](https://david-dm.org/w3c/mobile-web-browser-emulator)
[![devDependency Status](https://david-dm.org/w3c/mobile-web-browser-emulator/dev-status.svg)](https://david-dm.org/w3c/mobile-web-browser-emulator#info=devDependencies)
[![devDependency Status](https://david-dm.org/w3c/mobile-web-browser-emulator/dev-status.svg)](https://david-dm.org/w3c/mobile-web-browser-emulator?type=dev)

# Mobile Web Browser Emulator

Expand All @@ -9,20 +9,20 @@ This module is used by the new version of the [Mobile Checker by W3C](https://va

This application works in [headless](https://github.com/kesla/node-headless) mode (powered via XVFB). Using it on the server side is easy.

![alt google screenshot](https://github.com/guibbs/mobile-web-browser-emulator/blob/master/examples/screenshots/google.png)
![alt w3c screenshot](https://github.com/guibbs/mobile-web-browser-emulator/blob/master/examples/screenshots/w3.png)
![Google screenshot](https://github.com/w3c/mobile-web-browser-emulator/raw/master/examples/screenshots/google.png)
![W3C screenshot](https://github.com/w3c/mobile-web-browser-emulator/raw/master/examples/screenshots/w3.png)

## Install

Start by having [BrowserMob Proxy](http://bmp.lightbody.net/) set up and running. Then run the following command
Start by having [BrowserMob Proxy](https://bmp.lightbody.net/) set up and running. Then run the following command:

```
npm install mobile-web-browser-emulator
```

## API

With Mobile Web Browser Emulator, it is easy test mobile web applications [using the Selenium WebDriver API](http://selenium.googlecode.com/git/docs/api/javascript/index.html).
With Mobile Web Browser Emulator, it is easy test mobile web applications [using the Selenium WebDriver API](https://seleniumhq.github.io/selenium/docs/api/javascript/).

Emulation example:

Expand Down