Seeing the below error on trying to launch the app in appium insperor.
App Launched the TV but not in the inspector to interact with the locator and perform more operation to write the scripts
LG Model 2022 Observation:
[debug] [W3C] Matched W3C error code ‘unknown error’ to UnknownError
[debug] [[email protected]] UnknownError: An unknown server-side error occurred while processing the command. Original error: unknown error: Runtime.executionContextCreated has invalid ‘context’: {“auxData”:{“frameId”:“FBC10E0C81A80ED6FAFD1503358A3256”,“isDefault”:true,“type”:“default”},“id”:1,“name”:"",“origin”:“file://com.movenetworks.app.sling-tv-sling-production-webos”}
[debug] [[email protected]] (Session info: content shell=)
[debug] [[email protected]] at errorFromW3CJsonCode (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:923:25)
[debug] [[email protected]] at ProxyRequestError.getActualError (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:798:14)
[debug] [[email protected]] at JWProxy.command (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:340:19)
[debug] [[email protected]] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] [[email protected]] at Chromedriver.startSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:597:5)
[debug] [[email protected]] at Chromedriver.start (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:528:7)
[debug] [[email protected]] at WebOSDriver.startChromedriver (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:182:5)
[debug] [[email protected]] at WebOSDriver.createSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:153:5)
[debug] [[email protected]] at AppiumDriver.createSession (/opt/homebrew/lib/node_modules/appium/lib/appium.js:336:35)
[[email protected]] Chromedriver exited unexpectedly with code null, signal SIGTERM
[debug] [[email protected]] Changed state to ‘stopped’
[[email protected]] An unknown server-side error occurred while processing the command. Original error: unknown error: Runtime.executionContextCreated has invalid ‘context’: {“auxData”:{“frameId”:“FBC10E0C81A80ED6FAFD1503358A3256”,“isDefault”:true,“type”:“default”},“id”:1,“name”:"",“origin”:“file://com.movenetworks.app.sling-tv-sling-production-webos”}
[[email protected]] (Session info: content shell=)
[debug] [[email protected]] Event ‘newSessionStarted’ logged at 1669295967998 (18:49:27 GMT+0530 (India Standard Time))
[debug] [[email protected]] Encountered internal error running command: Error: An unknown server-side error occurred while processing the command. Original error: unknown error: Runtime.executionContextCreated has invalid ‘context’: {“auxData”:{“frameId”:“FBC10E0C81A80ED6FAFD1503358A3256”,“isDefault”:true,“type”:“default”},“id”:1,“name”:"",“origin”:“file://com.movenetworks.app.sling-tv-sling-production-webos”}
[debug] [[email protected]] (Session info: content shell=)
[debug] [[email protected]] at Object.errorAndThrow (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/support/lib/logging.js:115:34)
[debug] [[email protected]] at Chromedriver.start (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:553:16)
[debug] [[email protected]] at WebOSDriver.startChromedriver (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:182:5)
[debug] [[email protected]] at WebOSDriver.createSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:153:5)
[debug] [[email protected]] at AppiumDriver.createSession (/opt/homebrew/lib/node_modules/appium/lib/appium.js:336:35)
[HTTP] <-- POST /session 500 14622 ms - 1285
[HTTP]
LG Model 2020 Observation:
Original error: unknown error: unexpected command response (Session info: content shell=)
[debug] [W3C] Matched W3C error code ‘unknown error’ to UnknownError
[debug] [[email protected]] UnknownError: An unknown server-side error occurred while processing the command. Original error: unknown error: unexpected command response
[debug] [[email protected]] (Session info: content shell=)
[debug] [[email protected]] at errorFromW3CJsonCode (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:923:25)
[debug] [[email protected]] at ProxyRequestError.getActualError (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:798:14)
[debug] [[email protected]] at JWProxy.command (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:340:19)
[debug] [[email protected]] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] [[email protected]] at Chromedriver.startSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:597:5)
[debug] [[email protected]] at Chromedriver.start (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:528:7)
[debug] [[email protected]] at WebOSDriver.startChromedriver (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:182:5)
[debug] [[email protected]] at WebOSDriver.createSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:153:5)
[debug] [[email protected]] at AppiumDriver.createSession (/opt/homebrew/lib/node_modules/appium/lib/appium.js:336:35)
[[email protected]] Chromedriver exited unexpectedly with code null, signal SIGTERM
[debug] [[email protected]] Changed state to ‘stopped’
[[email protected]] An unknown server-side error occurred while processing the command. Original error: unknown error: unexpected command response
[[email protected]] (Session info: content shell=)
[debug] [[email protected]] Event ‘newSessionStarted’ logged at 1669294206097 (18:20:06 GMT+0530 (India Standard Time))
[debug] [[email protected]] Encountered internal error running command: Error: An unknown server-side error occurred while processing the command. Original error: unknown error: unexpected command response
[debug] [[email protected]] (Session info: content shell=)
[debug] [[email protected]] at Object.errorAndThrow (/opt/homebrew/lib/node_modules/appium/node_modules/@appium/support/lib/logging.js:115:34)
[debug] [[email protected]] at Chromedriver.start (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/node_modules/appium-chromedriver/lib/chromedriver.js:553:16)
[debug] [[email protected]] at WebOSDriver.startChromedriver (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:182:5)
[debug] [[email protected]] at WebOSDriver.createSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:153:5)
[debug] [[email protected]] at AppiumDriver.createSession (/opt/homebrew/lib/node_modules/appium/lib/appium.js:336:35)
[HTTP] <-- POST /session 500 10342 ms - 825
LG Model 2018 Observation:
Getting the below error on trying to launch the app.
Also please help i am using “appium:appId”: “AppPackage” which is the app package for my application
[debug] [LGWsClient] Got response: {“type”:“response”,“id”:“register_1”,“payload”:{“pairingType”:“PROMPT”,“returnValue”:true}}
[debug] [[email protected]] Event ‘newSessionStarted’ logged at 1669201630292 (16:37:10 GMT+0530 (India Standard Time))
[debug] [[email protected]] Encountered internal error running command: Error: Could not authenticate, please accept prompt
[debug] [[email protected]] at LGWSClient.authenticate (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/remote/lg-socket-client.js:190:15)
[debug] [[email protected]] at LGWSClient.initialize (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/remote/lg-socket-client.js:241:12)
[debug] [[email protected]] at WebOSDriver.createSession (/Users/raja.subudhi/.appium/node_modules/appium-lg-webos-driver/lib/driver.js:135:5)
[debug] [[email protected]] at AppiumDriver.createSession (/opt/homebrew/lib/node_modules/appium/lib/appium.js:336:35)
[HTTP] <-- POST /session 500 62414 ms - 593
[HTTP]