(key, value)
| 2165 | let valid = false |
| 2166 | |
| 2167 | function setParam(key, value) { |
| 2168 | if (value === null || typeof value === 'number') { |
| 2169 | valid = true |
| 2170 | cmd.setParameter(key, value) |
| 2171 | } else if (typeof value !== 'undefined') { |
| 2172 | throw TypeError('invalid timeouts configuration:' + ` expected "${key}" to be a number, got ${typeof value}`) |
| 2173 | } |
| 2174 | } |
| 2175 | |
| 2176 | setParam('implicit', implicit) |
| 2177 | setParam('pageLoad', pageLoad) |
nothing calls this directly
no test coverage detected