Skip to content
adam goucher edited this page Aug 18, 2013 · 3 revisions

'py.saunter --new' will populate the conf directory with default values, but if you are building it from scratch...

In order to run, Saunter must have a conf/saunter.yaml

%YAML 1.3
---
# this is the name of the conf/browsers/xxx.yaml file
default_browser: firefox

# none or jenkins
ci_type: jenkins

# defaults to true
screenshots:
    on_failure: true
    on_error: true

There must also be a conf/selenium.yaml

%YAML 1.3
---
timeout: 30

executor:
    host: localhost
    port: 4444
    is grid: false

You can specify any number of xxx.yaml files in conf/browsers/. At minimum you need one, and it is referenced in saunter.yaml

%YAML 1.3
---
type: firefox

# profiles
profiles:
    darwin:
    profile:

# proxy
proxy:
    host:
    port:
    type:

# sauce labs
sauce:
    ondemand: false
    os:
    version:
    artifacts:
        video: false
        log: false
        images: false
    selenium-version:
    sauce_connect: true

# filtering of nodes with grid
grid filters:
    platform: mac
    version: 23.0.1

Clone this wiki locally