https://github.com/jenish-rudani/saveaspdf
Save multiple web pages as PDF with Background Graphics using selenium webdriver.
https://github.com/jenish-rudani/saveaspdf
background-graphics hacktoberfest hacktoberfest2020 pdf selenium-webdriver virtual-environments webdriver
Last synced: 9 months ago
JSON representation
Save multiple web pages as PDF with Background Graphics using selenium webdriver.
- Host: GitHub
- URL: https://github.com/jenish-rudani/saveaspdf
- Owner: jenish-rudani
- License: bsd-2-clause
- Created: 2020-05-26T05:10:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T01:02:07.000Z (over 1 year ago)
- Last Synced: 2025-03-26T03:51:14.019Z (over 1 year ago)
- Topics: background-graphics, hacktoberfest, hacktoberfest2020, pdf, selenium-webdriver, virtual-environments, webdriver
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CONTENTS OF THIS FILE
- Introduction
- Installation
- Run
## INTRODUCTION
- Save multiple web pages as PDF with Background Graphics using selenium webdriver.
## INSTALLATION
### Install webdriver
```shell
sudo apt install chromium-chromedriver
```
### Create a Virtual environment
- I like install all my virtual environments in ~/.envs directory but you can save it anywhere.
> create virual environment named saveaspdfenv and activate it
```shell
mkdir ~/.envs && cd ~/.envs
python3 -m venv saveaspdfenv
source saveaspdfenv/bin/activate
```
### Clone
- Clone this repo to your local machine using `https://github.com/fvcproductions/SOMEREPO`
> Navigate into Documents directory and clone this repo
```shell
cd ~/Documents
git clone https://github.com/JenishRudani98/SaveAsPdf.git
cd SaveAsPdf
```
> install required modules
```shell
python3 -m pip install -r requirements.txt
```
## Run
To use this application go into tests directory and run main.py, You can make changes into main.py according to your preference.
```shell
cd tests
python3 main.py
```