- Introduction
- Installation
- Run
- Save multiple web pages as PDF with Background Graphics using selenium webdriver.
$ sudo apt install chromium-chromedriver
- I install all my virtual environments in ~/.envs directory
create virual environment named saveaspdfenv and activate it
$ mkdir ~/.envs && cd ~/.envs
$ python3 -m venv saveaspdfenv
$ source saveaspdfenv/bin/activate
- Clone this repo to your local machine using
https://github.com/fvcproductions/SOMEREPO
Navigate into Documents directory and clone this repo
$ $ cd ~/Documents
$ git clone https://github.com/JenishRudani98/SaveAsPdf.git
$ cd SaveAsPdf
install required modules
$ python3 -m pip install -r requirements.txt
To use this application go into tests directory and run main.py, You can make changes into main.py according to your preference.
$ cd tests
$ python3 main.py