npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

appium-roku-driver

v0.1.1

Published

Roku support for Appium

Readme

🚀 Appium Roku Driver

NPM version Downloads

Appium Roku Driver is a test automation tool for Roku devices. Appium Roku Driver automates Roku applications, tested on real devices. Appium Roku Driver is part of the Appium test automation tool.

Installation

In order to use appium-roku-driver, we need to use appium version 1.16.0 or higher

npm i -g appium-roku-driver

🚀 Usage

Import Roku Driver, set and create a session:

import { RokuDriver } from "appium-roku-driver";

let capabilities = {
  app: "/Users/my-computer/3_Grid.zip",
  deviceName: "Home",
  appId: "dev",
  platformName: "Roku",
  contentId: "MV005011860000",
  mediaType: "season",
  ip: "10.10.1.1",
  username: "rokuUser",
  password: "rokuPass",
};

let driver = new RokuDriver();
await driver.createSession(capabilities);

🚀 Capabilities

Desired capabilities (caps) are a set of keys and values (i.e., a map or hash) sent to the Appium server to tell the server what kind of automation session we’re interested in starting up. There are various capabilities that can modify the behavior of the server during automation.

| Capability | Mandatory Fields | Description | | ----------------- | ---------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | | app | | The absolute local path or remote http URL to a .zip1 | | appId | | The appId is the identification for (channel / app) inside the OS | | deviceName | | The kind of device to use1 | | platformName | | Platform target will be automated1 | | contentId | | Partner defined unique identifier for a specific piece of content2 | | mediaType | | Parameter to give context to the type of contentID passed2 | | ip | | Ip of the device on which the automation will be executed | | username | | Username of device3 | | password | | Password of device3 | | noReset | 🔲 | Don't reset app state before this session. See in the osicial documentation of Appium for more details4 | | fullReset | 🔲 | Perform a complete reset. See in the osicial documentation of Appium for more details4 | | newCommandTimeout | 🔲 | How long (in seconds) Appium will wait for a new command from the client before assuming the client quit and ending the session1 |

1 Appium Desired Capabilities

2 Developer environment setup

3 Developer environment setup

4 Reset Strategies

🚀 Commands

Session

These commands are used for session administration.

createSession(capabilities);
deleteSession();
validateDesiredCaps(capabilities);

Actions

These commands are used for actions administration.

getPageSource();
getScreenshot();

App Managment

These commands are used for application administration.

isAppInstalled(appId);
appsInstalled();
findAppInstalled(appId);
isCheckVersion(app, appId);
activateApp(appId, contentId, mediaType);
removeApp(appId);
terminateApp(appId);
installApp(app, username, password);
launchApp(appId, contentId, mediaType);
closeApp();
isStartedApp(appId);
isAppActivated(appId);
background(seconds);

General

getDeviceTime();
sendKey(key);
pressHardwareKey(key);
back();
isKeyboardShown();
hideKeyboard();