Skip to content

Setting the sliding speed to 200 milliseconds results in the need to wait for 50 seconds for the next operation. #999

@zhanglizheng123

Description

@zhanglizheng123

My code calls the method:
for i in range(30): actions.w3c_actions.pointer_action.move_to_location(190, 700) actions.w3c_actions.pointer_action.pointer_down() actions.w3c_actions.pointer_action.pause(0.2) actions.w3c_actions.pointer_action.move_to_location(190, 200) actions.w3c_actions.pointer_action.release() actions.perform() time.sleep(1)

In actual performance, the interval between each slide exceeds 50 seconds. The following is the log of WDA:
Apr 2 14:45:25 WebDriverAgentRunner-Runner(WebDriverAgentLib)[1117] : Waiting up to 2s until com.lemon.lvoverseas is in idle state (including animations)
Apr 2 14:45:33 testmanagerd[599] : Not reporting XCTestTesting.2025-04-02-14:45:27.spindump.txt, doesn't match list of processes {DTServiceHub, WebDriverAgentRunner, assertiond, debugserver, runningboardd, FrontBoard, SpringBoard, xctest, testmanagerd, WebDriverAgentRunner-Runner, backboardd}
Apr 2 14:45:40 WebDriverAgentRunner-Runner(UIKitCore)[1117] : Background Task 2 (""), was created over 30 seconds ago. In applications running in the background, this creates a risk of termination. Remember to call UIApplication.endBackgroundTask(_:) for your task in a timely manner to avoid this.
Apr 2 14:45:47 testmanagerd(RunningBoardServices)[599] : Updating configuration of monitor <RBSProcessMonitorConfiguration| id:M599-11 qos:17 predicates:[<RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.apple.springboard">>, <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.zlz1facebook.WebDriverAgentRunner.xctrunner">>, <RBSProcessPredicate <RBSProcessBundleIdentifierPredicate "com.lemon.ee.lvoverseas">>] descriptor:<RBSProcessStateDescriptor| values:1 namespaces:[com.apple.frontboard.visibility]> events:0x0>
Apr 2 14:46:15 WebDriverAgentRunner-Runner(XCTAutomationSupport)[1117] : Evaluating query:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions