????Web?????
?????????????Web??????????и????????????????????????????????????????????????????????????????????????????????????????????????????????
?????????????
???????????request?????????curl????????????????飬??????????????????????XML?????????????????????????????????Щ?????е??????????JavaScript???????URL??????????????????JS?????????????????????JS???????????????????????????????????????????
??????????????????????
???????????????????????????????????????Webkit??PhantomJS?? ????Gecko??SlimerJS?? ?????????CasperJS????PhantomJS??SlimerJS?????????v8JS?????.net????trifleJS?????Щ??????μ?????????Web??????????μ?Web??????????????????
???????Э????????????????
????????Selenium????????????WebDriverЭ????????????????????????????????C/S????WebDriverЭ?飬Selenium???????????????????????????????????????????????????????????????????????????????????????????????????????仯???????Ч????£???????????????????????С????????????????Xvfb(virtual framebuffer X Server) ????????????????????μ????У????????????????????????????????????????????????????????????????
??????????????
??????????????????????????????????????????????????????????????????У?????????????????????·??Chrome 59???????????????Firefox 55???Linux????????????Firefox 56????????????????????????????÷??????????????????WebDriver??????
????Headless Chrome??????
????Headless ???????????ν??滷?????е?????????????????????????????????ο?Healess Software??
????PhantomJS??????
?????????汾??Webkit????????μ?Web??????????????????????
?????????????????????????????????????Chrome ????? Headless??
???????????????1800+
???????????????????????????????Щ???????bug
????Selenium??????
???????WebDriver?????????????????????????????????????????????
???????????ν??棬????豸?????
??????????Xvfb??virtual framebuffer X Server??
????X?????????????ν?????????豸?????????C/S???
??????????????????????豸???????????
???????????????????????????????????????
????????Headless????????Web????в???
???????ChromeDriver(WebDriver??Chrome???)????????Chrome?????????ChromeDriver?????
??????????ChromeDriver?????????Chrome?汾
????Headless Chrome??????????
??????????????????PhantomJS??
????????????(?????У?????ν???)
??????????Web????????(ES6??ServiceWorkers??WebGL...)
???????????Web?淶???汾?????????
????Chronium/Chrome??????