Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Getting "Error: No valid WebSocket class provided" #1207

Open
adelriosantiago opened this issue Jun 25, 2020 · 0 comments
Open

Getting "Error: No valid WebSocket class provided" #1207

adelriosantiago opened this issue Jun 25, 2020 · 0 comments

Comments

@adelriosantiago
Copy link

adelriosantiago commented Jun 25, 2020

I am trying to run this sharedb example in localhost:8080. But I am getting an "Error: No valid WebSocket class provided" during browser.visit. Here is the following code:

This is the code I am using:

const Browser = require("zombie");
setTimeout(() => { // Just a timeout to wait for the example load
  const browser = new Browser();
  browser.visit("http://localhost:8080/", (err) => {
    console.log("err", err); // ERROR HERE
    browser.fill("#field", "[email protected]") // textarea#field added the index.html
  });
}, 5000);

Why? How can I fix it?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant