feat(firefox): switch over to WebSocket and support multiclient (#4022)

- switch transport from TCP to WS (yay!)
- implemenet `puppeter.connect()`, `browser.disconnect()`, `'disconnected'`
event and `browser.wsEndpoint()`
This commit is contained in:
Andrey Lushnikov
2019-02-15 17:57:48 -08:00
committed by GitHub
parent e0d4a5d2ec
commit c35821a1a1
11 changed files with 81 additions and 66 deletions

View File

@@ -141,7 +141,7 @@ module.exports.addTests = function({testRunner, expect, puppeteer, Errors}) {
]);
expect(browser.browserContexts().length).toBe(1);
});
it_fails_ffox('should work across sessions', async function({browser, server}) {
it('should work across sessions', async function({browser, server}) {
expect(browser.browserContexts().length).toBe(1);
const context = await browser.createIncognitoBrowserContext();
expect(browser.browserContexts().length).toBe(2);