* @param {!TargetBrowser} browser the browser targeted in this environment. * @param {?(string|remote.SeleniumServer)=} url remote URL of an existing * Selenium server to test against.
(browser, url = undefined)
| 275 | * Selenium server to test against. |
| 276 | */ |
| 277 | constructor(browser, url = undefined) { |
| 278 | browser = /** @type {!TargetBrowser} */ (Object.seal(Object.assign({}, browser))) |
| 279 | |
| 280 | TARGET_MAP.set(this, browser) |
| 281 | URL_MAP.set(this, url || null) |
| 282 | } |
| 283 | |
| 284 | /** @return {!TargetBrowser} the target browser for this test environment. */ |
| 285 | get browser() { |