官术网_书友最值得收藏!

  • PhantomJS Cookbook
  • Rob Friesel
  • 95字
  • 2021-07-16 11:37:56

Introduction

PhantomJS exposes several core APIs to work with the headless browser and with the operating system that hosts the runtime. For example, we can get information about PhantomJS, inspect our host environment for values assigned to variables, and read from or write to the filesystem with the help of these APIs.

The recipes in this chapter will focus on those APIs that are considered part of the PhantomJS core. Specifically, we will introduce and discuss the global phantom object, the system and fs modules, and how to create and load our own CommonJS-compatible modules.

主站蜘蛛池模板: 怀宁县| 瑞金市| 昭觉县| 定西市| 怀远县| 贺兰县| 贞丰县| 宁远县| 长治市| 南木林县| 沐川县| 马边| 广南县| 南开区| 金门县| 仪陇县| 同德县| 搜索| 龙南县| 阿荣旗| 虞城县| 龙陵县| 礼泉县| 柏乡县| 如东县| 老河口市| 华蓥市| 浦县| 玛纳斯县| 萨迦县| 马关县| 醴陵市| 镶黄旗| 嘉义县| 湖南省| 扎赉特旗| 成安县| 项城市| 津南区| 郧西县| 赣榆县|