<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                PhantomJS的用處可謂非常廣泛,諸如網絡監測、網頁截屏、無需瀏覽器的 Web 測試、頁面訪問自動化等 PhantomJS官方地址:[http://phantomjs.org/](http://phantomjs.org/)。   PhantomJS官方API:[http://phantomjs.org/api/](http://phantomjs.org/api/)。   PhantomJS官方示例:[https://phantomjs.org/examples.html](https://phantomjs.org/examples.html)   PhantomJS GitHub:[https://github.com/ariya/phantomjs/](https://github.com/ariya/phantomjs) [下載win版本](http://phantomjs.org/download.html)解壓到d盤:D:\phantomjs-2.1.1-windows ![](https://img.kancloud.cn/7a/32/7a327b81c227d3e543834ab8d235246f_259x274.png) 將`D:\phantomjs-2.1.1-windows\bin`加入環境變量 win+R >>>cmd 測試全局環境變量是否配置成功: ``` phantomjs -v ``` ![](https://img.kancloud.cn/02/6b/026bcc77359565bf51569c266e4b433c_190x63.png) 必須cd到![](https://img.kancloud.cn/e9/df/e9dfccf2562fcc4670445a4e48fdead4_296x39.png) 執行 運行第一個官方例子: ``` phantomjs ../examples/arguments.js 1 2 ``` 效果: ![](https://img.kancloud.cn/ca/50/ca504ec604f052bdafd55a788c859754_648x103.png) 新建demo.js ``` var page = require('webpage').create(); page.open('http://example.com', function () { page.render('example.png'); phantom.exit(); }); ``` ![](https://img.kancloud.cn/57/bb/57bb48e4059c6d1e8f02f553d4287770_496x50.png) 在bin下生成了`http://example.com`頁面圖片,名為example.png ![](https://img.kancloud.cn/75/f0/75f0d043966ff2ac87a30e2f4b224b10_568x400.png)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看