| 195 | */ |
| 196 | class Builder { |
| 197 | constructor() { |
| 198 | /** @private @const */ |
| 199 | this.log_ = logging.getLogger(`${logging.Type.DRIVER}.Builder`) |
| 200 | |
| 201 | /** @private {string} */ |
| 202 | this.url_ = '' |
| 203 | |
| 204 | /** @private {?string} */ |
| 205 | this.proxy_ = null |
| 206 | |
| 207 | /** @private {!Capabilities} */ |
| 208 | this.capabilities_ = new Capabilities() |
| 209 | |
| 210 | /** @private {chrome.Options} */ |
| 211 | this.chromeOptions_ = null |
| 212 | |
| 213 | /** @private {chrome.ServiceBuilder} */ |
| 214 | this.chromeService_ = null |
| 215 | |
| 216 | /** @private {firefox.Options} */ |
| 217 | this.firefoxOptions_ = null |
| 218 | |
| 219 | /** @private {firefox.ServiceBuilder} */ |
| 220 | this.firefoxService_ = null |
| 221 | |
| 222 | /** @private {ie.Options} */ |
| 223 | this.ieOptions_ = null |
| 224 | |
| 225 | /** @private {ie.ServiceBuilder} */ |
| 226 | this.ieService_ = null |
| 227 | |
| 228 | /** @private {safari.Options} */ |
| 229 | this.safariOptions_ = null |
| 230 | |
| 231 | /** @private {edge.Options} */ |
| 232 | this.edgeOptions_ = null |
| 233 | |
| 234 | /** @private {remote.DriverService.Builder} */ |
| 235 | this.edgeService_ = null |
| 236 | |
| 237 | /** @private {boolean} */ |
| 238 | this.ignoreEnv_ = false |
| 239 | |
| 240 | /** @private {http.Agent} */ |
| 241 | this.agent_ = null |
| 242 | } |
| 243 | |
| 244 | /** |
| 245 | * Configures this builder to ignore any environment variable overrides and to |