I am writing the code line as:
driver.findElement(By.id("com.android.vending:id/0_resource_name_obfuscated")).click();
//Clicking on No Thanks button - resourceid take from Ui Automator
But appium does not respond to this line and give error that no element found. "An element could not be located on the page using the given search parameters"
Any help? Thanks in advance
Try to use wait methods :