You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,15 @@ Using Node v7.9.0+ you can run the above example with `node file.js`
34
34
35
35
See [examples](examples) folder for more ways to use this module.
36
36
37
+
## Use it with npx
38
+
You can quickly test any website with phantomjs-node without needing to install the package.
39
+
40
+
```
41
+
$ npx phantom@latest https://stackoverflow.com/
42
+
```
43
+
44
+
The above command is very useful to test if your website works on older browsers. I frequently use it to ensure [polyfills](https://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills) have been installed correctly.
0 commit comments