From 2ac9cb90096b1147cd825bd301dae1c18350dc12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=89=8D=E5=8B=87?= Date: Tue, 21 May 2024 18:31:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=91=E4=BB=AC=E8=87=AA?= =?UTF-8?q?=E5=B7=B1=E5=A2=9E=E5=8A=A0=E7=9A=84tap=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E7=9A=84=E8=B7=AF=E7=94=B1=E5=90=8D=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E4=B8=8E=E5=8E=9F=E6=9C=AC=E6=9C=80=E6=96=B0=E7=9A=84=E8=B7=AF?= =?UTF-8?q?=E7=94=B1=E5=90=8D=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebDriverAgentLib/Commands/FBCustomCommands.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebDriverAgentLib/Commands/FBCustomCommands.m b/WebDriverAgentLib/Commands/FBCustomCommands.m index 34a17963..88008655 100644 --- a/WebDriverAgentLib/Commands/FBCustomCommands.m +++ b/WebDriverAgentLib/Commands/FBCustomCommands.m @@ -68,8 +68,8 @@ + (NSArray *)routes // modified start tag [[FBRoute POST:@"/wda/performIoHidEvent"].withoutSession respondWithTarget:self action:@selector(handlePeformIOHIDEvent:)], - [[FBRoute POST:@"/wda/tap"] respondWithTarget:self action:@selector(handleDeviceTap:)], - [[FBRoute POST:@"/wda/tap"].withoutSession respondWithTarget:self action:@selector(handleDeviceTap:)], + [[FBRoute POST:@"/wda/deviceTap"] respondWithTarget:self action:@selector(handleDeviceTap:)], + [[FBRoute POST:@"/wda/deviceTap"].withoutSession respondWithTarget:self action:@selector(handleDeviceTap:)], [[FBRoute POST:@"/wda/deviceSwipe"] respondWithTarget:self action:@selector(handleDeviceSwipe:)], [[FBRoute POST:@"/wda/deviceSwipe"].withoutSession respondWithTarget:self action:@selector(handleDeviceSwipe:)], // end tag