滑动API:Swipe(int start x,int start y,int end x,int y,duration) 
解释: 
int start x-开始滑动的x坐标;
int start y -开始滑动的y坐标 ;
int end x -结束点x坐标;
int end y -结束点y坐标; 
duration 滑动时间(默认5毫秒)。

屏幕左上角为起点,坐标为(0,0),起点往右为Y轴,起点以下为X轴

 

微信来说,登录按钮起点和终点坐标分别为(63,1716)和(432,1860)

 Appium处理滑动方法是swipe

driver.swipe方法有时候不可用,和maven依赖有关系

Appium处理滑动方法是swipe

可以使用该方法

Appium处理滑动方法是swipe

不可以使用

 

相关文章:

  • 2022-12-23
  • 2022-01-20
  • 2021-12-05
  • 2021-08-08
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2018-04-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-20
  • 2022-01-03
相关资源
相似解决方案