autopilot-deno AutoPilot is a simple cross-platform desktop automation library for Deno.
AutoPilot is a simple cross-platform desktop automation library for Deno.
NOTE: Works with Deno v1.3.0 or up.
Window management (only for linux)
Detailed documentation of the API is available at:
sudo apt-get update sudo apt-get install libdbus-1-dev x11-xserver-utils wmctrl libxtst-dev cmake libc-dev libx11-dev libxcb1-dev
Running your Deno script with AutoPilot requires some flags
deno run --unstable -A file.ts
NOTE: Prebuilt binaries are automatically downloaded the first time you import Autopilot in your project and are cached.
import AutoPilot from 'https://deno.land/x/autopilot/mod.ts'; // create a new AutoPilot instance. var pilot = new AutoPilot(); // type a string pilot.type("Yay! This works"); // alert something pilot.alert("This is a alert"); // get screen size pilot.screenSize(); // move mouse pilot.moveMouse(200, 400); // take a full-screen screenshot pilot.screenshot("screenshot.png");
CACHE: Set if you want to update the release from Github.
DEV: Set if you want t use the development debug builds.
Clone this repo and run
cargo build to produce a development build.
Contributing code and ideas to AutoPilot is really easy! Create an issue or PR. :)
Source Code: https://github.com/divy-work/autopilot-deno
Deno is released, it’s time to find out if it can prove a worthy competition for Node.js. What is Deno? Why Deno can be considered an alternative to Node? The main differences between Deno and Node. Write a simple Deno app.