fix issue with response design, add some windows documentation
This commit is contained in:
parent
9d3f9e9bfb
commit
612ab8e975
@ -18,11 +18,18 @@ Clone this repository
|
||||
Navigate to the resulting directory
|
||||
|
||||
Create a virtual environment and install dependencies
|
||||
### UNIX-Like
|
||||
```bash
|
||||
python -m venv .venv
|
||||
source .venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
### Windows
|
||||
```bat
|
||||
py -m venv .venv
|
||||
.venv\Scripts\activate
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
Update config.ini with your Flight Schedule Pro tenant ID, username, and password
|
||||
|
||||
|
||||
@ -72,6 +72,9 @@ if driver_type == GECKO_DRIVER:
|
||||
opt.binary_location = config['firefox'].get('binary_path')
|
||||
if not args.show_browser:
|
||||
opt.add_argument('-headless')
|
||||
# Force window size to avoid issues with responsive design
|
||||
opt.add_argument("--width=1920")
|
||||
opt.add_argument("--height=1080")
|
||||
# Disable print dialog. Causes race conditions with window switching
|
||||
firefox_profile = FirefoxProfile()
|
||||
firefox_profile.set_preference("print.enabled", False)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user