One workaround for deprecated/removed Text Locator strategy is :
String text1 = "//android.widget.TextView[@text='Test']"
driver.findElement(By.xpath(text1));
One workaround for deprecated/removed Text Locator strategy is :
String text1 = "//android.widget.TextView[@text='Test']"
driver.findElement(By.xpath(text1));