Skip to content

Commit

Permalink
修改我们自己增加的tap接口的路由名,避免与原本最新的路由名冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcaiyong01 committed May 21, 2024
1 parent 373f86a commit 2ac9cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WebDriverAgentLib/Commands/FBCustomCommands.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ac9cb9

Please sign in to comment.