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

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

@adelriosantiago

Description

@adelriosantiago

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", "zombie@underworld.dead") // textarea#field added the index.html
  });
}, 5000);

Why? How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions