* @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)
| 271 | * Selenium server to test against. |
| 272 | */ |
| 273 | constructor(browser, url = undefined) { |
| 274 | browser = /** @type {!TargetBrowser} */ (Object.seal(Object.assign({}, browser))) |
| 275 | |
| 276 | TARGET_MAP.set(this, browser) |
| 277 | URL_MAP.set(this, url || null) |
| 278 | } |
| 279 | |
| 280 | /** @return {!TargetBrowser} the target browser for this test environment. */ |
| 281 | get browser() { |