Project

General

Profile

Actions

question_answer #4152

open

answer_ana

Added by UserName LastName over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Start date:
01/26/2024
Due date:
% Done:

0%

Estimated time:
answer:

- '选项B: driver.scroll(element1, element2) 从元素 element1 滑动到元素element2,直到页面自动停止'
- '选项C: driver.drag_and_drop(origin_el, destination_el) 将元素 origin_el 拖拽到 destination_el元素所在的位置'
- '选项D: TouchAction(driver).press(x=x1, y=y1).move_to(x=x2, y=y2).release().perform()
TouchAction是appium的高级用法,实现从坐标点(x1, y1)滑动到坐标点(x2,y2),释放手势'

answer_analysis:

appium 点击,滑动,手势操作。driver.swipe(100, 1000, 100, 100),模拟手指从(100,1000),滑动到(100,100)的位置
...

No data to display

Actions

Also available in: Atom PDF