Unable to locate the element inside the webview Appium #19126
Unanswered
cw-saisrijan-gupta
asked this question in
Q&A
Replies: 1 comment
-
|
Those errors are coming from Chromedriver itself, so there's nothing Appium can do. The only thing I can recommend is to use latest versions of all Appium software in case that is somehow causing an issue. Have you printed out the page source immediately before the find call to visually ascertain whether the element is actually present in the webview source? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently working on automating a hybrid app using Appium WebDriverIO. My script successfully switches to the webview context without any issues. However, I'm facing a problem when trying to locate an element inside the webview using XPath:
//input[@data-testing-id='name-input'].I've verified that the XPath is correct by inspecting the webview using
chrome://inspect/#devices, where the element is present.Appium Logs Link
Appium Version : 1.20.2
Chrome(Webview) Version : 116.0.5845.164
Chromedriver Version : 116.0.5845.96
Verified Context Switching: I've made sure to correctly switch to the webview context.
Specified ChromeDriver Path: Appium was unable to get ChromeDriver version 116 automatically. To address this, I specified the ChromeDriver executable path inside the capabilities using the chromedriverExecutable capability
Tried Upgrading appium-chromedriver: In an attempt to resolve the issue, I upgraded the appium-chromedriver package to its latest version. However, the problem persisted.
Any further guidance or insights would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions