PhantomJS-based web performance metrics collector

phantomas <url> [options]

General options:
--url Set URL to work with
--version, -V Show version number and quit
--help, -h This help text
--verbose, -v print debug messages to the console
--debug run PhantomJS in debug mode
--modules run selected modules only [moduleOne],[moduleTwo],...
--include-dirs load modules from specified directories [dirOne],[dirTwo],...
--skip-modules skip selected modules [moduleOne],[moduleTwo],...
--config uses JSON or YAML-formatted config file to set parameters
Client options:
--engine [experimental] select engine used to run the phantomas [webkit|gecko]
--phone force viewport and user agent of a mobile phone
--tablet force viewport and user agent of a tablet
--viewport phantomJS viewport dimensions [width]x[height [default: 1280x1024]
--user-agent provide a custom user agent
HTTP options:
--auth-user sets the user name used for HTTP authentication
--auth-pass sets the password used for HTTP authentication
--cookie document.cookie formatted string for setting a single cookie (e.g. "bar=foo;domain=url")
--cookies-file specifies the file name to store the persistent Cookies
--ignore-ssl-errors ignores SSL errors, such as expired or self-signed certificate errors
--proxy specifies the proxy server to use (e.g. --proxy=192.168.1.42:8080)
--proxy-auth specifies the authentication information for the proxy (e.g. --proxy-auth=username:password)
--proxy-type specifies the type of the proxy server [http|socks5|none]
--ssl-protocol sets the SSL protocol for secure connections [sslv3|sslv2|tlsv1|any] [default: "any"]
Runtime options:
--allow-domain allow requests to given domain(s) - aka whitelist [domain],[domain],...
--block-domain disallow requests to given domain(s) - aka blacklist [domain],[domain],...
--disable-js disable JavaScript on the page that will be loaded
--no-externals block requests to 3rd party domains
--post-load-delay wait X seconds before generating a report
--runs number of runs to perform
--scroll scroll down the page when it's loaded
--spy-eval report calls to eval()
--stop-at-onload stop phantomas immediately after onload event
--timeout timeout for phantomas run [default: 15]
--wait-for-event wait for a given phantomas event before generating a report
--wait-for-selector wait for an element matching given CSS selector before generating a report
--socket [experimental] use provided UNIX socket for IPC
Output and reporting:
--analyze-css [experimental] emit in-depth CSS metrics
--colors forces ANSI colors even when output is piped
--film-strip register film strip when page is loading (a comma separated list of milliseconds can be passed)
--film-strip-dir folder path to output film strip (default is ./filmstrip directory)
--har save HAR to a given file
--log log to a given file
--page-source [experimental] save page source to file
--page-source-dir [experimental] folder path to output page source (default is ./html directory)
--progress shows page loading progress bar (disables verbose mode)
--reporter, -R, --format output format / reporter [default: "plain"]
--screenshot render fully loaded page to a given file
--silent don't write anything to the console

phantomas参数选项的更多相关文章

  1. 函数参数选项的处理getopt getopt_long getopt_long_only

    转载:http://blog.chinaunix.net/uid-20321537-id-1966849.html   在头文件中int getopt(int argc,char *argv[], c ...

  2. java socket 的参数选项解读(转)

    java socket中有很多参数可以选择,这篇博客的目的是沉淀出这些参数的语义和用法,供自己以后查阅. 1.java socket参数选项总览 在JDK1.6中有如下参数选项: 1 public f ...

  3. Highcharts常用的最核心的参数选项配置详细说明

    Highcharts提供大量的选项配置参数,您可以轻松定制符合用户要求的图表,目前官网只提供英文版的开发配置说明文档,而中文版的文档网上甚少,且零散不全.这里,我把Highcharts常用的最核心的参 ...

  4. java socket 的参数选项解读

    java socket中有很多参数可以选择,这篇博客的目的是沉淀出这些参数的语义和用法,供自己以后查阅. 1.java socket参数选项总览 在JDK1.6中有如下参数选项: public fin ...

  5. 齐博x1第四季《模块插件的制作》系列21-公共表单器的参数选项(7)

    password 密码类型 和text一样,只不过type类型是password,密码类型输入时,显示星号.即Html中的密码框类型 icon 字体图标类型 和列表页一样,把css的字体图标引入到了表 ...

  6. Java 6 JVM参数选项大全(中文版)

    原文来自: http://kenwublog.com/docs/java6-jvm-options-chinese-edition.htm 本文是基于最新的SUN官方文档Java SE 6 Hotsp ...

  7. C/C++ 跨平台交叉编译、静态库/动态库编译、MinGW、Cygwin、CodeBlocks使用原理及链接参数选项

    目录 . 引言 . 交叉编译 . Cygwin简介 . 静态库编译及使用 . 动态库编译及使用 . MinGW简介 . CodeBlocks简介 0. 引言 UNIX是一个注册商标,是要满足一大堆条件 ...

  8. 转:sudo 的常见用法和参数选项

    原文链接:http://wiki.ubuntu.org.cn/Sudo sudo,以其他用户身份执行一个命令. 用法 sudo -h | -K | -V sudo -v [-Akns] [-g gro ...

  9. mysqldump 工具使用详解——参数选项

    mysqldump 简介 mysqldump 是一种用于逻辑备份的客户端工具,它会产生一套能够重新构建数据库或表的SQL语句.所谓逻辑备份:是利用SQL语言从数据库中抽取数据并存于二进制文件的过程.逻 ...

随机推荐

  1. javascript闭包和闭包的几种写法和用法

    什么是闭包 闭包,官方的解释是:一个拥有需要许多变量和绑定了这=这些变量的表达式(通常是一个函数),因而这些变量也是该表达式的一部分.闭包的特点: 1 作为一个函数变量的引用,当函数返回时,其处于激活 ...

  2. 机器学习之SVM支持向量机

    前言            以下内容是个人学习之后的感悟,转载请注明出处~ 简介 支持向量机(support vector machine),简称SVM,通俗来讲,它是一种二类分类模型,其基本模型定义 ...

  3. html+css构成的框架,可自行改造

    运行效果 代码下载地址:http://pan.baidu.com/s/1eSeBh2E

  4. vector 大小

    vector定义以后就最好确定大小resize(),否则在vector析构时可能出现 "double free or corruption"这样的错误

  5. 如何将excel中的一个表格内容转成xml格式的文件

    转自:http://www.cnblogs.com/sansi/archive/2012/02/06/2340471.html 感谢作者,解决了折磨我几天的问题,顿时心情开朗~ ----------- ...

  6. jquery 点击某一行,得到这一行的每个列的数据

    <html><head> <title>test</title> <script src="../Scripts/jquery-1.8. ...

  7. lightoj 1099【dijkstra/BFS】

    题意: 求 1-N 的第二长路,一条路可以重复走 if two or more shortest paths exist, the second-shortest path is the one wh ...

  8. lightoj刷题日记

    提高自己的实力, 也为了证明, 开始板刷lightoj,每天题量>=1: 题目的类型会在这边说明,具体见分页博客: SUM=54; 1000 Greetings from LightOJ [简单 ...

  9. C#基础知识回顾

    值类型和引用类型 值类型存在栈上,结构,枚举,数值类型 引用类型存在堆上,数组,类,接口,委托 把值类型存到引用类型中就是封箱,耗时 引用类型中的值类型是存在堆上,不是栈上,但是作为参数传递时,还是会 ...

  10. MarketServer 日志

    2014.04.29 1. 发现有时候会跳出 Exception Infomations:   用户异常信息:Socket未连接 跟踪后发现的一次情况是: 服务器根据客户端请求从后台读取数据后,写数据 ...