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
On my iOS app there is a screen for making payments using a credit or debit card and this is essentially a webview. When I run query("WKWebView css:'*'") I get only one iframe element for that screen.
What I get through query("WKWebView css:'*'") on calabash-ios console is as below:
Hi, Just to update you on this. I have utilised you examples at [https://github.com/calabash/ios-webview-test-app] and tried query("WKWebView css:'iframe' css:'input#card_number'") for the element I found with id: card_number and node: input to no avail. I also tried query("WKWebView css:'iframe' css:'*'") but this doesn't return anything either. I used the tools on chrome to view the full web version on iPhone to view the elements since I cannot view them on calabash-iso console.
We have seen problems with cross-site credit card payment pages.
If the css:'iframe' solution does not work, then you will have to skip the tests or try to update the web query engine in the LPServer (this project) to support your test.
On my iOS app there is a screen for making payments using a credit or debit card and this is essentially a webview. When I run query("WKWebView css:'*'") I get only one iframe element for that screen.
What I get through query("WKWebView css:'*'") on calabash-ios console is as below:
However as you can see from the image there is more elements on that screen apart from this but there is no information to identify them.
What I have tried:
I tried using some java script as below:
But this throws an exception which I am assuming is due to the fact that I cannot see any elements using query
The text was updated successfully, but these errors were encountered: