zoukankan      html  css  js  c++  java
  • CasperJS, a navigation scripting and testing utility for PhantomJS

    CasperJS, a navigation scripting and testing utility for PhantomJS

    $ casperjs --help
    CasperJS version 0.6.6 at /Users/niko/Sites/casperjs, using PhantomJS version 1.3.0

    Usage: casperjs [options] script.[js|coffee] [script argument [script argument ...]]
    casperjs [options] test [test path [test path ...]]

    Options:

    --cookies-file=/path/to/cookies.txt Sets the file name to store the persistent cookies
    --config=/path/to/config Specifies path to a JSON-formatted config file
    --disk-cache=[yes|no] Enables disk cache (at desktop services cache storage location, default is 'no')
    --ignore-ssl-errors=[yes|no] Ignores SSL errors (i.e. expired or self-signed certificate errors)
    --load-images=[yes|no] Loads all inlined images (default is 'yes')
    --load-plugins=[yes|no] Loads all plugins (i.e. 'Flash', 'Silverlight', ...) (default is 'no')
    --local-to-remote-url-access=[yes|no] Local content can access remote URL (default is 'no')
    --max-disk-cache-size=size Limits the size of disk cache (in KB)
    --output-encoding Sets the encoding used for terminal output (default is 'utf8')
    --proxy=address:port Sets the network proxy (e.g. "--proxy=192.168.1.42:8080")
    --script-encoding Sets the encoding used for the starting script (default is 'utf8')
    --version Prints out CasperJS version

  • 相关阅读:
    判断UpLoader是否安装了Flash
    事务
    AMQP
    分布式领域CAP理论
    查看数据库所有表的所有字段
    拼分页方法
    Website English Comments
    SQL语句执行时间测试
    一般处理程序返回json
    MVC Action返回Json
  • 原文地址:https://www.cnblogs.com/lexus/p/2486729.html
Copyright © 2011-2022 走看看