Skip to content
This repository has been archived by the owner on Dec 26, 2019. It is now read-only.

Added support to get source for WKWebView #964

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sumanc
Copy link

@sumanc sumanc commented Jul 18, 2018

Hi,

When I use the following command;
curl -X GET $JSON_HEADER $DEVICE_UL/session/7D046797-5D22-4E16-8264-754C5A1C4796/source

and if the app has a WKWebView, I am not getting any elements from the WKWebView.

I couldn't find any place else other than this pull request. With this change, I am able to get the complete source of the app including the WKWebView.

Please let me know if this is the right thing todo or if there is a better way.

--Suman

@marekcirkos
Copy link
Contributor

This is kind of weird that force resolving that is necessary. Could you add test case for that as well?

@sumanc
Copy link
Author

sumanc commented Aug 13, 2018

I can try. I just looked at the project's structure. I need to add a WKWebview based view controller to the integration and add a test case in the integration tests?

Please send me if there are any guidelines to add a test case.

@zastress
Copy link

I had the same issue with Webviews and this commit fixed it. Thanks @sumanc .

…ible

Support for tap when system dialog is up
Getting source was very slow when system dialog is up. Removed the test on the child object
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants