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语言从数据库中抽取数据并存于二进制文件的过程.逻 ...
随机推荐
- 上传图片时压缩图片 - 前端(canvas)做法
HTML前端代码: <?php $this->layout('head'); ?> <?php $this->layout('sidebar'); ?> <m ...
- 1、css选择器
一.CSS rgb颜色对照表:https://www.114la.com/other/rgb.htm 1.在标签上设置style属性 <!DOCTYPE html> <html la ...
- 【网络爬虫】【python】网络爬虫(一):python爬虫概述
python爬虫的实现方式: 1.简单点的urllib2 + regex,足够了,可以实现最基本的网页下载功能.实现思路就是前面java版爬虫差不多,把网页拉回来,再正则regex解析信息--总结起来 ...
- Flutter实战视频-移动电商-08.Dio基础_伪造请求头获取数据
08.Dio基础_伪造请求头获取数据 上节课代码清楚 重新编写HomePage这个动态组件 开始写请求的方法 请求数据 .但是由于我们没加请求的头 所以没有返回数据 451就是表示请求错错误 创建请求 ...
- java 多线程,sleep()和wait()
java 线程可谓是java中重要的一个机制,在说线程之前需要知道什么是进程,进程和线程的关系是是什麽? 1.什么是进程?什么是线程? 进程:用句简单的粗俗的来说,进程就是程序.进程是一个正在运行的程 ...
- C#backgroundWorker用法
1.在 WinForms 中,有时要执行耗时的操作,在该操作未完成之前操作用户界面,会导致用户界面停止响应.解决的方法就是新开一个线程,把耗时的操作放到线程中执行,这样就可以在用户界面上进行其它操作. ...
- 洛谷 - SP3871 GCDEX - GCD Extreme - 莫比乌斯反演
易得 $\sum\limits_{g=1}^{n} g \sum\limits_{k=1}^{n} \mu(k) \lfloor\frac{n}{gk}\rfloor \lfloor\frac{n}{ ...
- ZOJ3158 【DFS】
题意: 从上往下切割,不能切边缘,然后问你两个差值,要小于给出的值. 思路: 直接爆搜,枚举每一行的劈开位置: #include<bits/stdc++.h> using namespac ...
- bzoj 4200: [Noi2015]小园丁与老司机【dp+有上下界最小流】
洛谷上有个点死活卡不过去,不知道是哪里写丑了orz 参考:https://www.cnblogs.com/ditoly/p/BZOJ4200.html 从上往下dp,设f为不向左右走直接上去的值,g为 ...
- 2013 Noip提高组 Day2
3288积木大赛 正文 题目描述 春春幼儿园举办了一年一度的“积木大赛”.今年比赛的内容是搭建一座宽度为n的大厦,大厦可以看成由n块宽度为1的积木组成,第i块积木的最终高度需要是hi. 在搭建开始之前 ...