Skip to content

KaanDoesNothing/DenoADB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

ADB needs to be installed first for this to work.

When using setADBPath Make sure to include the executable like setADBPath("./tools/adb.exe");

Example:

import ADB from "https://deno.land/x/adb/index.ts";

const adb = new ADB();

await adb.waitForConnection();

const size = await adb.getScreenSize();

console.log(size);

Inspired by https://github.com/appium/appium-adb