You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: