Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Connection to existing Appium server #198

Open
RudolfVonKrugstein opened this issue Nov 6, 2019 · 1 comment
Open

Connection to existing Appium server #198

RudolfVonKrugstein opened this issue Nov 6, 2019 · 1 comment

Comments

@RudolfVonKrugstein
Copy link

I would like to connect to an existing appium server, because it runs on a different machine and cannot be started from the machine where the agouti tests are running.

As fas as I understand, the appium WebDriver is specified by a command and an URL (see appium/webdriver.go line 16-18):

        url := "http://{{.Address}}/wd/hub"
	command := []string{"appium", "-p", "{{.Port}}", "--log","/tmp/appium.log"}
	agoutiWebDriver := agouti.NewWebDriver(url, command, newOptions.agoutiOptions...)

If I have an running appium server, I could just supply an empty command. But I cannot change the port of the appium server. Also not its address.

Can I somehow create a WebDriver with a fixed port?

@RudolfVonKrugstein
Copy link
Author

RudolfVonKrugstein commented Nov 6, 2019

Created a pull request for this: #201

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant