Skip to content

Commit

Permalink
修改我们自己增加的swipe接口的路由名,避免与原本最新的路由名冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
wangcaiyong01 committed May 21, 2024
1 parent cd0e116 commit 5134e79
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 @@ -70,8 +70,8 @@ + (NSArray *)routes
[[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/swipe"] respondWithTarget:self action:@selector(handleDeviceSwipe:)],
[[FBRoute POST:@"/wda/swipe"].withoutSession respondWithTarget:self action:@selector(handleDeviceSwipe:)],
[[FBRoute POST:@"/wda/deviceSwipe"] respondWithTarget:self action:@selector(handleDeviceSwipe:)],
[[FBRoute POST:@"/wda/deviceSwipe"].withoutSession respondWithTarget:self action:@selector(handleDeviceSwipe:)],
// end tag

[[FBRoute POST:@"/wda/expectNotification"] respondWithTarget:self action:@selector(handleExpectNotification:)],
Expand Down

0 comments on commit 5134e79

Please sign in to comment.