Appium CAPTCHA input notes
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