Skip to content
This repository has been archived by the owner on Jun 2, 2022. It is now read-only.

Trying to run SlimerJS scripts: Can't find webpage #40

Open
jfkhoury opened this issue Mar 24, 2017 · 0 comments
Open

Trying to run SlimerJS scripts: Can't find webpage #40

jfkhoury opened this issue Mar 24, 2017 · 0 comments

Comments

@jfkhoury
Copy link

I am trying to run SlimerJS scripts using this launcher. I had to use Browserify because otherwise the script was throwing an exception because require is not defined.

Now I'm getting this error: [framework.browserify]: Error: Cannot find module 'webpage'.

Here's the source of the exception: var page = require("webpage").create();

Any ideas on how to run SlimerJS scripts in Karma, so I can use Jasmine's assertions?

Thanks.

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