Skip to main content

SmartCast Driver

Introduction

This page is a reference for the available commands and key mappings for the appium-smartcast-driver.

The SmartCast driver is a closed source Appium driver written by TV Labs for the Vizio SmartCast platform. It enables connecting to the SmartCast device in an Appium session, and interfacing with it using both Chromedriver and the Remote Control API.

Available Commands

All executeScript commands are proxied to a ChromeDriver instance connected to the debugger port on the device. Availability is based on what the Chromium version supports.

In addition to these proxied commands, the driver offers the following commands for device interaction using the remote control:

CommandRequired ArgumentsDescription
smartcast: pressKeykeyPress a key on the SmartCast device. If the key is available through the remote control, it will be preferred. Otherwise falls back to using Chromedriver.
smartcast: enterTexttextEnters text on the SmartCast device using the remote control.
smartcast: deviceInfo-Returns information about the current device, such as model information, software versions, hardware capabilities, and more. This information is retrieved from the TV Settings > Admin and Privacy > System Information > TV Information menu.

Key Map

The following keys are available with the smartcast: pressKey command. Pressing individual keys like letters, numbers, or symbols is supported through Chromedriver. To enter text using the remote control, use the smartcast: enterText command.

KeyDescriptionSent Using
upUpRemote Control
downDownRemote Control
leftLeftRemote Control
rightRightRemote Control
okOK/EnterRemote Control
backBackRemote Control
menuMenuRemote Control
infoInfoRemote Control
homeHomeRemote Control
smartcastSmartCastRemote Control
cc_toggleCC ToggleRemote Control
vol_upVolume UpRemote Control
vol_downVolume DownRemote Control
mute_onMute OnRemote Control
mute_offMute OffRemote Control
mute_toggleMute ToggleRemote Control
pic_modePicture ModeRemote Control
pic_sizePicture SizeRemote Control
input_nextNext InputRemote Control
ch_upChannel UpRemote Control
ch_downChannel DownRemote Control
ch_prevPrevious ChannelRemote Control
seek_fwdSeek ForwardRemote Control
seek_backSeek BackwardRemote Control
playPlayRemote Control
pausePauseRemote Control
pow_onPower OnRemote Control
pow_offPower OffRemote Control
pow_togglePower ToggleRemote Control
exitExitRemote Control
enterEnterChromedriver
stopStopChromedriver
track_nextNext TrackChromedriver
track_prevPrevious TrackChromedriver
page_upPage UpChromedriver
page_downPage DownChromedriver
backspaceBackspaceChromedriver
spaceSpaceChromedriver