-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Did you test using the latest Detox?
- I have tested this issue on the latest Detox release and it still reproduces.
Did your test fail and you're not sure why?
- I have read the troubleshooting guide and it didn't help me.
What happened?
Hybrid app. During test execution there is no ability to interact with webview elements on integrated payment provider form. Native element with webview located successfully via detox methods, but webview element can not be located and interacted with.
log.info(Tapping on element by.xpath: ${elementXpath}); const webview = await getRootWebView(); const webelement = await webview.element(by.web.xpath(elementXpath)); await webelement.scrollToView(); await webelement.tap();
Test Failed: element was not found at index: 0
What was the expected behaviour?
No response
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 20.47.0
React Native version: 0.77.3
Node version: 22.17.0
Test-runner: jest
Detox logs
Detox logs
paste logs here!
Device logs
Device logs
paste your device.log here!
More data, please!
No response
Reactions are currently unavailable