iOS simulator mock location methods #19293
-
|
Hi everyone, I'm building an Appium automation project for my app.
The only option left is to mock location through the simulator itself but it's not practical at all since I need to change it a few times while the automation runs... Does anyone know of a way I could make this work? Or did anyone encounter such a problem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I believe I replied to this in another location, but the second parameter to |
Beta Was this translation helpful? Give feedback.
-
|
@jlipps thank you! |
Beta Was this translation helpful? Give feedback.
I believe I replied to this in another location, but the second parameter to
executeScriptshould not be a string but rather a map. The Java client does the conversion to JSON for you, so you must provide Java objects to the method, not JSON strings.