update PHANTOMJS_ARGS
Showing
1 changed file
with
5 additions
and
4 deletions
1 | #!/usr/bin/env ruby | 1 | #!/usr/bin/env ruby |
2 | |||
3 | # Ruby Wrapper for CasperJs | 2 | # Ruby Wrapper for CasperJs |
4 | # Version: 1.0.0 | ||
5 | # by hannyu | 3 | # by hannyu |
6 | 4 | ||
7 | 5 | ||
... | @@ -10,18 +8,21 @@ CASPER_PATH = File.dirname(File.dirname(File.expand_path(__FILE__))) | ... | @@ -10,18 +8,21 @@ CASPER_PATH = File.dirname(File.dirname(File.expand_path(__FILE__))) |
10 | PHANTOMJS_NATIVE_ARGS = [ | 8 | PHANTOMJS_NATIVE_ARGS = [ |
11 | '--cookies-file', | 9 | '--cookies-file', |
12 | '--config', | 10 | '--config', |
11 | '--debug', | ||
13 | '--disk-cache', | 12 | '--disk-cache', |
14 | '--ignore-ssl-errors', | 13 | '--ignore-ssl-errors', |
15 | '--load-images', | 14 | '--load-images', |
16 | '--load-plugins', | 15 | '--load-plugins', |
16 | '--local-storage-path', | ||
17 | '--local-storage-quota', | ||
17 | '--local-to-remote-url-access', | 18 | '--local-to-remote-url-access', |
18 | '--max-disk-cache-size', | 19 | '--max-disk-cache-size', |
19 | '--output-encoding', | 20 | '--output-encoding', |
20 | '--remote-debugger-port', | ||
21 | '--remote-debugger-autorun', | ||
22 | '--proxy', | 21 | '--proxy', |
23 | '--proxy-auth', | 22 | '--proxy-auth', |
24 | '--proxy-type', | 23 | '--proxy-type', |
24 | '--remote-debugger-port', | ||
25 | '--remote-debugger-autorun', | ||
25 | '--script-encoding', | 26 | '--script-encoding', |
26 | '--web-security', | 27 | '--web-security', |
27 | ] | 28 | ] | ... | ... |
-
Please register or sign in to post a comment