ulixee / hero

The web browser built for scraping
MIT License
800 stars 41 forks source link

WebSocket connections are not allowed or blocked #141

Closed Baker68 closed 2 years ago

Baker68 commented 2 years ago

Code :

const Hero = require('@ulixee/hero-playground');

(async () => {
    const hero = new Hero({showChrome: true, showChromeInteractions: true});

    await hero.goto('https://libwebsockets.org/testserver/');
    await hero.waitForPaintingStable();
    // await hero.close();
})();

image If I reload the page from the browser : image

blakebyrnes commented 2 years ago

Thanks for reporting. Looking into this.

blakebyrnes commented 2 years ago

Fixed in next version of Agent (https://github.com/unblocked-web/agent/pull/11/commits/cca0419f65539129d5f5a44e76f2ce4ecdec6b24)

blakebyrnes commented 2 years ago

Fixed in version 2.0.0-alpha.10