Using espresso, click on the โLoginโ button, which launches an external website (Chrome Custom tab), where you can log in and then redirect back to our Android application.
Is there a way in Espresso:
1) Make sure that the correct URL is running
2) Access to items on the website so that I can enter login details and continue logging in

When I try to view it in the Espresso Launch Navigator, nothing is displayed on the page, and if I try to record, it will not pick me up when I enter something on the page.
This is what I still have (this is in Kotlin (not Java)): 
And here the error is displayed: 
He launches my application, selects the login button, opens a website, but then he cannot access the elements.
I also tried:

Update. This is using Chrome custom tabs (not a web view), so Espresso Web does not work.
source share