MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / constructor

Method constructor

javascript/selenium-webdriver/index.js:198–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getLoggerMethod · 0.80

Tested by

no test coverage detected