APP automation-coordinate acquisition and click

1. Get element coordinates

  

 

 

Second, click coordinates

  

 

 

  1. Driver click (this can achieve multiple simultaneous clicks)

    1) Implementation

      This coordinate variable must be a list

      coordinate_list = [(0, 0), (100, 100)]

      Because driver.tap can only support up to five points, coordinate is best to only embed five tuples

    

    2) Effect

    

 

 

 

 

   2. Single click of TouchAction ()

  

 

  3. Multi-click of TouchAction ()

  As an extension of knowledge, there is not much practical use

  

 

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/mua9102/p/12545874.html