President Casperjs1.1.0 reference Documentation-Installation

Source: Internet
Author: User

Installation

Casperjs can be installed in mac Osx,windows and most Linux version

Dependent items

PhantomJS1.82 and above

Python2.6 and above

New features in version 1.1

experimental: In the 1.1-beta1 version, Slimerjs 0.8 and later can run your tests on the gecko (Firefox) kernel. (You only need to add the –engine=slimerjs parameter in the EXECUTE Statement command line)

Mac OSX under Installation

slightly

Npm installation

slightly

from git installation

slightly

Install from a file

You can download the source code here:

Latest development version:

    • Https://github.com/n1k0/casperjs/zipball/master (Zip)
    • Https://github.com/n1k0/casperjs/tarball/master (tar.gz)

The most recent stable version

    • https://github.com/n1k0/casperjs/zipball/1.0.3 (Zip)
    • https://github.com/n1k0/casperjs/tarball/1.0.3 (tar.gz)

Casperjs on Windows

phantomjs Installation considerations:

Increase "; C:\phantomjs " into your environment variable PATH

If you have Phantomjs install in a different path, change to the correct path

Casperjs Installation Matters

Increase "; C:\casperjs\bin " into your environment variable PATH

If you have Phantomjs install in a different path, change to the correct path

then you can run any one of the rules-compliant Casper script.

Shaded output

Attention:

    1. new features on the beta1

      If you are in Windows installed on the Ansicon , the color output is displayed

Compile (optional)

. NET framework3.5h or a higher version.

known to BUG and Limitations

     Because of the reason for the asynchronous architecture, casperjs Not work well in under

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.