Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Appium CAPTCHA input notes

Shulou Source: shulou.com Published: 2022-06-03 04:37:28 11月25日 Update

Appium CAPTCHA input notes

Today, automatic CAPTCHA input a total of four input boxes, directly locate the input to find problems, but cannot be entered:

Driver.manage (). Timeouts (). ImplicitlyWait (20, TimeUnit.SECONDS)

Driver.findElementById ("com.systoon.beijingtoon:id/et_3") .sendKeys ("1")

One input, this can not be achieved, with communication, only one-time input can be entered correctly:

Thread.sleep (2000)

Driver.manage (). Timeouts (). ImplicitlyWait (20, TimeUnit.SECONDS)

Driver.findElement (By.xpath ("/ / android.widget.RelativeLayout [contains (@ index,3)]") .sendKeys ("1", "1", "1", "1")

Through this smooth landing

Tags: Input validation notes one-time that is problems positioning login automation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Linux Shulou Technology MySQL macOS