https://github.com/tinnguyen18920/http-requests-viewer
A Django app to view http(s) from a driver session.
https://github.com/tinnguyen18920/http-requests-viewer
django selenium
Last synced: about 2 months ago
JSON representation
A Django app to view http(s) from a driver session.
- Host: GitHub
- URL: https://github.com/tinnguyen18920/http-requests-viewer
- Owner: tinnguyen18920
- License: bsd-3-clause
- Created: 2021-05-06T15:49:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T04:08:29.000Z (about 5 years ago)
- Last Synced: 2025-03-03T11:46:09.961Z (over 1 year ago)
- Topics: django, selenium
- Language: Python
- Homepage:
- Size: 299 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HTTP Requests Viewer
A django app to view all http(s) from driver session using [selenium-wire](https://pypi.org/project/selenium-wire/)
## Installation
1. Using pip:
```bash
pip install http-requests-viewer
```
2. Add "bootstrap4" and "http_requests_viewer" in INSTALLED_APPS setting:
```python
INSTALLED_APPS = (
# ...
'bootstrap4',
'http_requests_viewer',
# ...
)
```
3. Include the http_requests_viewer URLconf in your project urls.py:
```python
urlpatterns = [
# ...
path('hr-viewer/', include('http_requests_viewer.urls')),
# ...
]
```
4. Run `python manage.py migrate` to create the models.
5. Run `python manage.py runserver`
6. Visit http://127.0.0.1:8000/hr-viewer/agents/ to create new agent.
7. Visit http://127.0.0.1:8000/hr-viewer/targets/new/ to create new target.