Skip to content

Commit

Permalink
include tb:options example
Browse files Browse the repository at this point in the history
  • Loading branch information
jochen-testingbot committed Aug 21, 2024
1 parent 179c4b5 commit d74d4a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.robot
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ Open test browser
Call Method ${options} set_capability browserName ${BROWSER}
Call Method ${options} set_capability browserVersion ${VERSION}

# Set custom TestingBot capabilities using tb:options
${tb_options}= Create Dictionary name=test build=MyTestBuild
Call Method ${options} set_capability tb:options ${tb_options}

# Open browser with options
Open Browser remote_url=https://${TB_KEY}:${TB_SECRET}@hub.testingbot.com/wd/hub options=${options}

Expand Down

0 comments on commit d74d4a5

Please sign in to comment.