-
Thư viện
node.jsvới API dễ dùng -
Điều khiển trình duyệt Chrome/Edge bằng mã JS
-
Tích hợp REPL cho ghi tương tác
-
Dễ dàng chọn đối tượng bằng smart selector
-
Có thể chờ truyền XHR/nội dung động
-
Có thể stub/mock Request/Response bằng Intercept API
1 bình luận
await openBrowser();
await goto("https://google.com);
await write("geeknews ");
await press("Enter");
await click(checkBox(near("GeekNews - dịch vụ tin tức công nghệ/startup")));
await screenshot({path: 'geeknews.png'});
await closeBrowser();
Code ngắn gọn và hay đấy