phantomas参数选项
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参数选项的更多相关文章
- 函数参数选项的处理getopt getopt_long getopt_long_only
转载:http://blog.chinaunix.net/uid-20321537-id-1966849.html 在头文件中int getopt(int argc,char *argv[], c ...
- java socket 的参数选项解读(转)
java socket中有很多参数可以选择,这篇博客的目的是沉淀出这些参数的语义和用法,供自己以后查阅. 1.java socket参数选项总览 在JDK1.6中有如下参数选项: 1 public f ...
- Highcharts常用的最核心的参数选项配置详细说明
Highcharts提供大量的选项配置参数,您可以轻松定制符合用户要求的图表,目前官网只提供英文版的开发配置说明文档,而中文版的文档网上甚少,且零散不全.这里,我把Highcharts常用的最核心的参 ...
- java socket 的参数选项解读
java socket中有很多参数可以选择,这篇博客的目的是沉淀出这些参数的语义和用法,供自己以后查阅. 1.java socket参数选项总览 在JDK1.6中有如下参数选项: public fin ...
- 齐博x1第四季《模块插件的制作》系列21-公共表单器的参数选项(7)
password 密码类型 和text一样,只不过type类型是password,密码类型输入时,显示星号.即Html中的密码框类型 icon 字体图标类型 和列表页一样,把css的字体图标引入到了表 ...
- Java 6 JVM参数选项大全(中文版)
原文来自: http://kenwublog.com/docs/java6-jvm-options-chinese-edition.htm 本文是基于最新的SUN官方文档Java SE 6 Hotsp ...
- C/C++ 跨平台交叉编译、静态库/动态库编译、MinGW、Cygwin、CodeBlocks使用原理及链接参数选项
目录 . 引言 . 交叉编译 . Cygwin简介 . 静态库编译及使用 . 动态库编译及使用 . MinGW简介 . CodeBlocks简介 0. 引言 UNIX是一个注册商标,是要满足一大堆条件 ...
- 转:sudo 的常见用法和参数选项
原文链接:http://wiki.ubuntu.org.cn/Sudo sudo,以其他用户身份执行一个命令. 用法 sudo -h | -K | -V sudo -v [-Akns] [-g gro ...
- mysqldump 工具使用详解——参数选项
mysqldump 简介 mysqldump 是一种用于逻辑备份的客户端工具,它会产生一套能够重新构建数据库或表的SQL语句.所谓逻辑备份:是利用SQL语言从数据库中抽取数据并存于二进制文件的过程.逻 ...
随机推荐
- js的一些刷新功能
<a href="javascript:location.replace(location.href);" title="刷新"> </a&g ...
- [转]git merge 跟 git merge -no-ff
根据这张图片可以看出 git merge –no-ff 可以保存你之前的分支历史.能够更好的查看 merge历史,以及branch 状态. git merge 则不会显示 feature,只保留单条分 ...
- HDOJ-1004(map)
Let the Balloon Rise Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Oth ...
- g2o扩展,然后重新编译生成新库。
orb作者有g2o扩展,g2o原作者也有g2o扩展,等各项基本功扎实以后,考虑把他们整合在一起,再加上高博扩展的g2o,统一cmake,make,然后能make install 正常使用,就最好了.
- many-to-one 配置问题
需要引入org.hibernate.annotations.NotFound,当预期的被关联的元素不在数据库(关乎关联列的错误id)时,致使Hibernate无法解决关联性问题时,Hibernate就 ...
- Binder使用示例(转载)
转自:http://blog.csdn.net/new_abc/article/details/8097775
- AWS AutoScaling的一个ScaleDown策略问题以及解决方法
此文已由作者袁欢授权网易云社区发布. 欢迎访问网易云社区,了解更多网易技术产品运营经验. 1. AWS AutoScaling简介 AutoScaling是AWS的一个重要服务,用来弹性的自动创建(S ...
- Math对象产生随机数一个小应用
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title> ...
- IntelliJ IDEA的自动提示貌似是区分大小写的,首字母小写的话,怎么都提示不出来。
IntelliJ IDEA的自动提示貌似是区分大小写的,首字母小写的话,怎么都提示不出来. File>Settings>editor >general >code comple ...
- CodeForces 41A+43A【课上无聊刷水题系列】
41Acode 好像只要前一个字符串存在下一个字符串的头单词就YES: #include <bits/stdc++.h> using namespace std; typedef __in ...