-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
21 lines (17 loc) · 693 Bytes
/
Copy pathREADME
File metadata and controls
21 lines (17 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
This is a template automation project with Python and Selenium.
There are 2 options to run the project.
1. MacBook M1
- Install python3.
- Install ChromeDriver and Chrome.
- ```cd PROJECT_DIRECTORY && pip3 install -r requirements.txt```
- Run tests: ```pytest exercise1.py```
Using Docker:
- Install Docker
- ```docker build -t python-poc --platform=linux/amd64 .```
- ```docker run -it --platform=linux/amd64 -w /app -v $(pwd):/app python-poc:latest bash```
2. Non MacBook M1 (Mac/Linux)
- Install Docker.
- ```docker build -t python-poc .```
- ```docker run -it -w /app -v $(pwd):/app python-poc:latest bash```
- ```pytest exercise1.py```
Now you can continue working on the project.