Skip to content

How to detect that SafariView has opened? #3019

Discussion options

You must be logged in to vote

@lukebrandonfarrell, can you help me by providing a code sample for the scenario that you tried to test?

The SafariView is a SFSafariViewController presented over the visible view controller. By "the view behind the SafariView" do you mean this VC's view?
Have you tried to set and access it using the testID (accessibilityidentifier) of the view (element(by.id('...'))), or by its type (element(by.type('SFSafariView')))?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@lukebrandonfarrell
Comment options

@lukebrandonfarrell
Comment options

@asafkorem
Comment options

Answer selected by lukebrandonfarrell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants