Ideally we wouldn't need this abstraction but since UiAutomation is final we need an
abstraction on top to be able to mock it in tests. It also gives us the flexibility to switch to
another implementation in the future.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.