appium-ecp
v0.1.0
Published
Client interface for Roku
Downloads
9
Maintainers
Readme
🚀 appium-ecp
A wrapper over Roku ecp, implemented using ES6 and along with async/await. This package is mainly used by Appium to perform all ecp operations on Roku device.
🚀 Usage:
example:
import ECP from "appium-ecp";
let ecp = new ECP();
await ecp.createECP({
ip: "10.10.1.1",
username: "rokuUser",
password: "rokuPass",
});
🚀 List of methods:
createECP();
appUI();
activeApp();
apps();
installFromQuery(appId, contentId, mediaType);
icon(appId);
device();
keyPress(key);
keyDown(key);
keyUp(key);
type(text);
search(paramsSearch);
player();
input(appId, contentId, mediaType);
setDeviceId();
install(app);
launch(appId, contentId, mediaType);