Using javascript binding of appium
I am trying to select the time from time picker using the xpath as follows(selecting 1 in this case):
await driver.waitForElementByXPath("//android.widget.RadialTimePickerView$RadialPickerTouchHelper[contains(@content-desc,'1')]", asserters.isDisplayed, 10000).click();
But getting error -
[waitForElementByXPath("//android.widget.RadialTimePickerView$RadialPickerTouchHelper[contains(@content-desc,'1')]",{},10000)] [elements("xpath","//android.widget.RadialTimePickerView$RadialPickerTouchHelper[contains(@content-desc,'1')]")] Error response status: 32, , InvalidSelector - Argument was an invalid selector (e.g. XPath/CSS). Selenium error: Argument was an invalid selector (e.g. XPath/CSS).