Closed Inovvia closed 7 months ago
Thank you for your interest in Shirates.
You can use remote appium server αs follows.
Set appiumServerUrl
to your remote server. (The url is Appium 2.0 compliant)
Comment the appiumPath
to disable launching local Appium server process.
[example]
appiumServerUrl=http://yourservername:4723/
#appiumPath=appium
Run appium command on your remote server.
appium --session-override --relaxed-security
Run test written in Shirates.
For more information See https://ldi-github.github.io/shirates-core/basic/parameter/parameters.html
Note: Shirates is built on Appium 2.0. Appium 1.x is not supported.
I see thank you very much. I saw on parameters that appiumPath was mandatory so I did not try removing it. Would it be fine if I create a pull request to update the documentation that it can be disabled, so that others would be able to know how to connect as well?
Thank you for offering pull request to improve the document.
But I found that iOS simulator does not work well in this way. (Android is fine) So I have to test and improve on remote server environment. Then I will update the document.
To tell the truth, Shirates is developed on Mac Studio with many emulators/simulators, and is not tested on remote servers yet.
Sorry for the inconvinient.
Remote Appium Server is supported. Try shirates-core 6.7.2
Hi, I was able to use it for another appium server running on my machine! However when I tried to use it for cloud automation it does not seem to works since it expects the device to already be booted.
For now I can get by with this since I was just experimenting with remote appium servers. The new document is extremely helpful when I need to run both appium inspector and run a test quickly!
https://www.lambdatest.com/capabilities-generator/
BTW I also noticed that this document is showing outdated build grade config
@Inovvia Thank you for your feedback. I hope you enjoy testing with Shirates. Documents will be updated on next major update.
I tried checking the documents but I can't find a way to connect to a running appium server. What I noticed that it that cannot find devices. I tried setting my appium server url to something like:
https://user:password@mobile-hub.lambdatest.com/wd/hub
I was also able to use the same appium url w/ capabilities using python. If there is a way in the documents I would be glad to take a look at it.