0.1.0 • Published 3 years ago

appium-ecp v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

🚀 appium-ecp

NPM version Downloads

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);