简体   繁体   English

使用node.js执行浏览器操作

[英]perform browser action using node.js

I know using http I can remotely send request and get the data on a specified site like google.com. 我知道使用http可以远程发送请求并在google.com等指定站点上获取数据。 But how to use node to perform browser action, like go to google.com, use the input bar and perform click event on the site? 但是,如何使用节点执行浏览器操作(例如转到google.com,使用输入栏并在网站上执行click事件)?

请参阅cheeriophantomjs或在phantomjs搜索“抓取”,“浏览器自动化”或“无头”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM