How to detect that SafariView has opened? #3019
-
I'm looking to see what would be the process to assert that SafariView has opened i.e. clicking the link worked and it didn't just do nothing. I have tried |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@asafkorem any ideas of the top of your head, maybe? |
Beta Was this translation helpful? Give feedback.
-
@lukebrandonfarrell, can you help me by providing a code sample for the scenario that you tried to test? The |
Beta Was this translation helpful? Give feedback.
@lukebrandonfarrell, can you help me by providing a code sample for the scenario that you tried to test?
The
SafariView
is aSFSafariViewController
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'))
)?