@@ -76,7 +76,8 @@ parameters:
7676 type : string
7777 default : /usr/local/bin
7878 description : >
79- Directory in which to install Chromedriver
79+ Directory in which to install Chromedriver.
80+ If installling Chrome Testing Driver as well, use a different directoy for each.
8081
8182 chrome_version :
8283 default : latest
@@ -109,6 +110,29 @@ parameters:
109110 description : >
110111 Directory in which to install Edge WebDriver
111112
113+ install_chrome_for_testing :
114+ default : false
115+ type : boolean
116+ description : Install Chrome for testing?
117+
118+ install_chrome_for_testing_driver :
119+ default : false
120+ type : boolean
121+ description : Install Chrome for testing with driver?
122+
123+ chrome_for_testing_version :
124+ type : string
125+ default : latest
126+ description : >
127+ Version of Chrome for testing to install, defaults to the latest stable release.
128+
129+ chrome_for_testing_driver_install_dir :
130+ type : string
131+ default : /usr/local/bin
132+ description : >
133+ Directory in which to install Chromedriver.
134+ If installling chromedriver as well, use a different directoy for each.
135+
112136steps :
113137 - when :
114138 condition : <<parameters.install_firefox>>
@@ -123,6 +147,13 @@ steps:
123147 - install_geckodriver :
124148 version : <<parameters.geckodriver_version>>
125149 install_dir : <<parameters.geckodriver_install_dir>>
150+ - when :
151+ condition : <<parameters.install_chrome_for_testing>>
152+ steps :
153+ - install_chrome_for_testing :
154+ version : <<parameters.chrome_for_testing_version>>
155+ install_chromedriver : <<parameters.install_chrome_for_testing_driver>>
156+ install_dir : <<parameters.chrome_for_testing_driver_install_dir>>
126157
127158 - when :
128159 condition : <<parameters.install_chrome>>
0 commit comments