From 20a797cbeb21baca4ce5b9a0642a5959cdf94a51 Mon Sep 17 00:00:00 2001 From: Niklas von Hertzen Date: Fri, 12 Apr 2019 23:37:01 -0700 Subject: [PATCH] docs: fix README documentation --- README.md | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/README.md b/README.md index dae9904..306267b 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,6 @@ The html2canvas library utilizes `Promise`s and expects them to be available in support [older browsers](http://caniuse.com/#search=promise) that do not natively support `Promise`s, please include a polyfill such as [es6-promise](https://github.com/jakearchibald/es6-promise) before including `html2canvas`. -**Note!** These instructions are for using the current dev version of 0.5, for the latest release version (0.4.1), checkout the [old readme](https://github.com/niklasvh/html2canvas/blob/v0.4/readme.md). - To render an `element` with html2canvas, simply call: ` html2canvas(element[, options]);` @@ -66,23 +64,9 @@ Build browser bundle $ npm run build -### Running tests ### - -The library has two sets of tests. The first set is a number of qunit tests that check that different values parsed by browsers are correctly converted in html2canvas. To run these tests with grunt you'll need [phantomjs](http://phantomjs.org/). - -The other set of tests run Firefox, Chrome and Internet Explorer with [webdriver](https://github.com/niklasvh/webdriver.js). The selenium standalone server (runs on Java) is required for these tests and can be downloaded from [here](http://code.google.com/p/selenium/downloads/list). They capture an actual screenshot from the test pages and compare the image to the screenshot created by html2canvas and calculate the percentage differences. These tests generally aren't expected to provide 100% matches, but while committing changes, these should generally not go decrease from the baseline values. - -Start by downloading the dependencies: - - $ npm install - -Run tests: - - $ npm test - ### Examples ### -For more information and examples, please visit the [homepage](https://html2canvas.hertzen.com) or try the [test console](http://html2canvas.hertzen.com/screenshots.html). +For more information and examples, please visit the [homepage](https://html2canvas.hertzen.com) or try the [test console](https://html2canvas.hertzen.com/tests/). ### Contributing ###