'Not able to access Google One Tap UI view's ID for automation in espresso Android

We have implemented Google One Tap for Android now as a functional test requirement we want to execute with espresso but google One tap UI view id's are not accessible.is there any way to access them?



Solution 1:[1]

Checking components that are not in your app, you cannot use Espresso. But you can use Ui Automator to do that.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Uriel Frankel