* Sets the binary to use. The binary may be specified as the path to a * Firefox executable. * * @param {(string)} binary The binary to use. * @return {!Options} A self reference. * @throws {TypeError} If `binary` is an invalid type.
(binary)
| 273 | * @throws {TypeError} If `binary` is an invalid type. |
| 274 | */ |
| 275 | setBinary(binary) { |
| 276 | if (binary instanceof Channel || typeof binary === 'string') { |
| 277 | this.firefoxOptions_().binary = binary |
| 278 | return this |
| 279 | } |
| 280 | throw TypeError('binary must be a string path ') |
| 281 | } |
| 282 | |
| 283 | /** |
| 284 | * Enables Mobile start up features |
no test coverage detected