From 00532414f8e0279811080103b128beeafd8b320e Mon Sep 17 00:00:00 2001 From: Eason <291028775@qq.com> Date: Thu, 8 Aug 2024 03:04:53 +0000 Subject: [PATCH] check maven center --- pom.xml | 2 +- .../org/cloud/sonic/driver/ios/service/impl/WdaClientImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 030ca25..373b5a8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.github.soniccloudorg sonic-driver-core - SONIC_VERSION + 1.1.30 sonic-driver-core The Sonic Project UIAutomation Driver Core for Android, iOS, Windows, Mac and so on. diff --git a/src/main/java/org/cloud/sonic/driver/ios/service/impl/WdaClientImpl.java b/src/main/java/org/cloud/sonic/driver/ios/service/impl/WdaClientImpl.java index 5572378..3fd8167 100644 --- a/src/main/java/org/cloud/sonic/driver/ios/service/impl/WdaClientImpl.java +++ b/src/main/java/org/cloud/sonic/driver/ios/service/impl/WdaClientImpl.java @@ -223,7 +223,7 @@ public void performTouchAction(TouchActions touchActions) throws SonicRespExcept public void performW3CTouchAction(final TouchActions touchActions) throws SonicRespException { final Sequence seq = W3CActions.convert(touchActions); final int timeoutUpdateSettings = 1500; - final String strAppiumSettingsURL = "%s/session/%s/actions".formatted(this.remoteUrl, this.sessionId); + final String strAppiumSettingsURL = String.format("%s/session/%s/actions", this.remoteUrl, this.sessionId); final JSONObject payload = new JSONObject(); payload.put("actions", new LinkedList>() {{ add(seq.toJson()); }}); final byte[] rawPayload = payload.toJSONString().getBytes(StandardCharsets.UTF_8);