Invalid [automationName] capability

Error Description
The automationName capability you have entered in your tests is invalid.

Solution
The automationName capability allows to set the automation engine to use in your tests
"automationName": "UIAutomator2"

Values
Supported values are: UIAutomator2, XCUITest, Appium, UIAutomator1
Android (Default): UIAutomator2
iOS (Default): XCUITest
For more info, you may refer to our capabilities-list documentation