Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anwesh43/phantom-console-capture

phantom scripts to capture errors in console and uploading the logs to a nodejs server
https://github.com/anwesh43/phantom-console-capture

Last synced: 4 days ago
JSON representation

phantom scripts to capture errors in console and uploading the logs to a nodejs server

Awesome Lists containing this project

README

        

### phantom-console-capture

#### Capturing console error in node js with phantomjs.

### Running the project

#### Install nodejs, post that install phantomjs

```
npm install -g phantomjs
```

#### Starting the server.
```
npm Install
node app.js
```

#### Starting the script

```
phantomjs get_console_output_with_details.js {http/https url}
phantomjs get_console_output_with_details.js https://www.icicibank.com
```

#### You can see console errors are captured in server. To modify the end_point in public/index.js capture errors in your backend.