Skip to content

InputControl info() not working #111

@santhiyaattivo

Description

@santhiyaattivo

Here is my sample python script. info() doesn't seem to work.

from pywebostv.connection import *
from pywebostv.controls import *
from appium import webdriver
from selenium.webdriver.common.by import By

store = {}
client = WebOSClient("192.168.1.7", secure=True)
client.connect()
for status in client.register(store):
if status == WebOSClient.PROMPTED:
print("Please accept the connect prompt on the TV screen!")
elif status == WebOSClient.REGISTERED:
print("Successfully registered the TV")
print(store)

desired_capabilities = {
'platformName': 'LGTV',
'automationName': 'webOS',
'deviceName': 'lg_office',
'deviceHost': '192.168.1.7',
'appId': 'com.cableco3.stv.platform',
'chromedriverExecutable': '/Users/santhiya.krishnamoorthi/Desktop/kaveri/chromedriver/chromedriver',
'useSecureWebsocket': True,
}

driver = webdriver.Remote('http://127.0.0.1:4723', desired_capabilities)

inp = InputControl(client) # This gives api for remote control for LG TV
inp.connect_input()
time.sleep(15)
inp.right() #Working as expected
inp.info() #Not working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions