Main.java 269 B

12345678
  1. import io.appium.java_client.AppiumDriver;
  2. public class Main {
  3. public void test(AppiumDriver driver){
  4. System.out.println("execute custom script");
  5. driver.findElementByXPath("//android.widget.Button[contains(@text,'始终允许')]").click();
  6. }
  7. }