These are chat archives for appium/ruby_lib

25th
Jan 2017
Edge
@Edge-Man
Jan 25 2017 19:32
It seems no matter how I change the server_url for the appium broker in my caps it always defaults to localhost. Basically I'm trying to set the server URL to another another that has appium up and running.
Hardik Desai
@hardik-d
Jan 25 2017 19:40
how do you set server url?
Edge
@Edge-Man
Jan 25 2017 19:42

`def setup

    desired_caps = {

        caps:       {

            platformName: 'iOS',

            deviceName: '', 

            bundleId: ',

            user: 'user@company.com', 

            password: 'password',

            takesScreenshot: false,

        },

        appium_lib: {

            server_url: 'https://132.xxx.xxx:8080’, 

        }

    }

    @driver = Appium::Driver.new(desired_caps)

    @driver.start_driver.manage.timeouts.implicit_wait = 10

end

`

Hardik Desai
@hardik-d
Jan 25 2017 19:58
i do a start_driver
and then do driver.get url
appium_lib i guess is for appium server
if you are actually trying to talk to appium itself running on a different server, i am not sure
i just run locally on a different port
i think you need remote webdriver