New (undocumented) changes in v5:
Opening any instance of testdriver will automatically run script found in testdriver/lifecycle/prerun.yaml.
Exec now takes a lang argument and has support for different OSs thought (linux, mac, and windows).
langvalues arejsorshelljscode is executed in a NodeJS VM on thehostmachine (your computer)shellcode is executed in shell on therunner.
- code found in
linux,mac, andwindowsis run based on the platform of therunnermachine
- command: exec
lang: shell
linux: |
jumpapp google-chrome --disable-fre --no-default-browser-check --no-first-run "${TD_WEBSITE}" &
exit
mac: |
open -na "Google Chrome" --args --disable-fre --no-default-browser-check --no-first-run --disable-features=PasswordManagerEnabled "${TD_WEBSITE}" &
exit
windows:
Start-Process "C:/Program Files/Google/Chrome/Application/chrome.exe" -ArgumentList "--start-maximized", "${TD_WEBSITE}"
exit
- command: wait-for-text
text: "Google Chrome"
timeout: 30000VMs are now customized with:
jumpappnodejs- Google Chrome
- TestDriver wallpaper