set_server_url method

Class: ConfigurationPlatform: ImagesLanguage: Python SDK:

Use this method to set the URL of the Eyes server used to process the captured images.

Use this if you have a dedicated cloud or an on-premise server. By default, the test will run on the public cloud. If you set the environment variable APPLITOOLS_SERVER_URL to the server URL then Eyes uses that value as the default.


configval = config.set_server_url(server_url)
config.server_url  = configval
configval = config.server_url

Note that this feature is available as both a method and a property.


The URL of the Eyes server. Pass a value of None to use the default cloud server.

Return value

Type: Self
The value returned is the object that called the method. This allows you to use a fluent style to call the setXXXX methods of the Configuration class.