You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: longitude must be provided
Build info: version: '4.17.0', revision: 'e52b1be057*'
System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '14.2.1', java.version: '17.0.5'
Driver info: io.appium.java_client.android.AndroidDriver
Command: [18706d75-ea01-4f72-b15e-3861c384e47d, setLocation {location=com.google.common.collect.ImmutableMap$Builder@5e610ed7}]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:134)
at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:51)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:190)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:237)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:519)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:592)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:302)
at io.appium.java_client.remote.SupportsLocation.setLocation(SupportsLocation.java:93)
Link To Appium Logs
N/A
The text was updated successfully, but these errors were encountered:
Description
Failed to setLocation with "io.appium.java_client.Location"
Environment
Details
The issue might be from "SupportsLocation"
Should it be "locationParameters.build()" instead of "locationParameters" in execute method call?
Appium Server Log
Code To Reproduce Issue [ Good To Have ]
((SupportsLocation) driver).setLocation(new Location(42.999141, -78.8210775));
Exception Stacktraces
Link To Appium Logs
N/A
The text was updated successfully, but these errors were encountered: