Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedi4ever/chrome-pagecheck
Commandline to get information on page in Google Chrome - errors, timings, etc...
https://github.com/jedi4ever/chrome-pagecheck
Last synced: about 1 month ago
JSON representation
Commandline to get information on page in Google Chrome - errors, timings, etc...
- Host: GitHub
- URL: https://github.com/jedi4ever/chrome-pagecheck
- Owner: jedi4ever
- Created: 2014-03-05T19:21:25.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-06T14:45:09.000Z (almost 11 years ago)
- Last Synced: 2023-04-10T14:21:23.450Z (over 1 year ago)
- Language: JavaScript
- Size: 182 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
A simple way of checking errors via google chrome:
- javascript errors
- unreachable URL
- images that don't load** Very Alpha, but mostly working **
Reason:
- phantomjs doesn't do flash plugin etc...
- selenium only can grab http request errors through a proxy
- detecting javascript errors in Selenium, require injection of javascript (console.log or window.errors)# Usage
```
$ chrome-pagecheck http://google.co.ukvisiting http://google.co.uk
found a debugURL through request ws://localhost:9222/devtools/page/312EA575-FF4A-67AA-398A-061118E68ED7
Connecting to remote Chrome session on ws://localhost:9222/devtools/page/312EA575-FF4A-67AA-398A-061118E68ED7
tracing URL request 84165.1 http://google.co.uk
Screen has not changed for 2 seconds
stopping chrome
done
```exitcodes:
- 0: no errors found
- -1: errors# Gotchas
- if running from tmux, make sure to install`brew install reattach-to-user-namespace`