Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 1.14 KB

File metadata and controls

60 lines (44 loc) · 1.14 KB

Playwright Tutorial

Watch the full tutorial on my YouTube Channel

Prerequisites

  • Python 3.11+

Installation

1. Clone the repository:

git clone https://github.com/ThomasJanssen-tech/Playwright-Tutorial
cd Playwright-Tutorial

2. Create a virtual environment

python -m venv venv

3. Activate the virtual environment

venv\Scripts\Activate
(or on Mac): source venv/bin/activate

4. Install libraries

pip install -r requirements.txt

5. Configuration

Executing the scripts

  • Open a terminal in VS Code

  • Execute the following command:

python playwright_scraping_indeed.py
python scraping_with_agentql.py
python patchright_scraping_indeed.py