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语言从数据库中抽取数据并存于二进制文件的过程.逻 ...
随机推荐
- 五、mysql中sql语句分类及常用操作
1.sql语句分类: DQL语句 数据查询语言 select DML语句 数据操作语言 insert delete update DDL语句 数据定义语言 create drop alter TCL语 ...
- 读取spring boot项目中resource目录下的文件
在开发中, 我们常常要将我们的配置文件或者模板文件放在我们的resource目录中. 如下 而在spring boot的项目中, 我们运行的是一个jar包, 并没有解压 所以当我们使用以下方式获取文件 ...
- LeetCode: 485 Max Consecutive Ones(easy)
题目: Given a binary array, find the maximum number of consecutive 1s in this array. Example 1: Input: ...
- Linux SecureCRT 完全破解
相关说明: 上篇发了个Linux(Ubuntu) 下 SecureCRT 7 30天循环破解在启动的时候会多输入一次确认窗口, 后来maz-1网友留言说可以用Windows破解后程序替换Linux下的 ...
- 着色语言(Shader Language)
摘抄"GPU Programming And Cg Language Primer 1rd Edition" 中文名"GPU编程与CG语言之阳春白雪下里巴人" ...
- [Xcode 实际操作]八、网络与多线程-(2)使用UIApplication对象打开网页
目录:[Swift]Xcode实际操作 本文将演示如何使用应用程序单例对象,打开指定的网页. 在项目导航区,打开视图控制器的代码文件[ViewController.swift] import UIKi ...
- 康少带你python项目从部署到上线云服务器
首先,服务器要安装nginx和mysql,网站文件建议放在/usr/local/www,环境python3.6+mysql5.7,阿里云的服务器可以用公共镜像有一个配置好的,不然就自己装一下环境吧. ...
- TCP协议怎么关闭?
TCP协议是一个面向连接的传输层协议,那如果避免遭到破坏,该怎样正确关闭呢?一般正常关闭TCP连接是采用四次挥手机制,其实主体就两个,客户端和服务器交互传递,且连续四次,传递的东西是FIN数据包和AC ...
- Validation(2)
站在巨人的肩膀上 spring注解式参数校验 2016年06月15日 15:42:47 God_Ming 阅读数:57021 标签: springhibernatevalidator 更多 个人分类: ...
- 百度网盘不限速!VIP视频免费看!这两款插件被无数人安利!
今天给给位推荐两款,我一直在使用的浏览器插件,简直爆炸!全网VIP视频随意看,所有网页上的视频,你想要的全部都能下载! 这两款插件堪称日常必备插件,只要你使用浏览器,就一定需要下面这些插件功能:快速下 ...