MachinePublishers / jBrowserDriver

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java
Other
809 stars 143 forks source link

Websocket support #249

Open MonopolyRC2 opened 7 years ago

MonopolyRC2 commented 7 years ago

According to https://websocketstest.com/ jBrowserDriver doesnt support WebSocket, is it working in the right way? I am using next config:

Settings settings = Settings.builder()
            .ssl("compatible")
            .requestHeaders(RequestHeaders.CHROME)
            .userAgent(UserAgent.CHROME)
            .headless(false)
            .build()
hollingsworthd commented 7 years ago

For those settings with Java 1.8.0u111 I get: WebSockets supported Yes ✔ WebSocket protocol version rfc-6455

MonopolyRC2 commented 7 years ago

But could you recieve and send data? I think not, it is suported but not connected, so websockets do not work Result of jBrowser: jBrowser And Google Chrome 55.0.2883.87 m: Chrome