appium-swipe right to position

Source: Internet
Author: User
Tags appium

Above 5 welcome pictures, to the right to swipe 4 times and then click "Experience Now" before you can go to the first screen

# Home Welcome Picture Slide 4 times  for  in range (4):        driver.swipe (Max, Max, ten, $)        sleep (3)# Click on "Experience Now"driver.find_element_by_id ('cn.com.autoclub.android.browser:id/app_guide_end  '). Click () Sleep (5)# Remove the update bullet frame Driver.find_element_by_ ID ('android:id/button2'). Click ()

About

Driver.swipe (1200, 200, 10, 200, 1500)

On the top right of the graph: (0) framelayout[0][0],[1440][2569], from this line can see the entire screen size, x 1440,y is 2569, the right slide, x coordinates from the large coordinates to the small coordinates, In the range 0 to 1140, choose two larger x-coordinates, and the one I give is x from 1200 to 10.

appium-swipe right to position

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.