Iden Challenge
This project automates the Iden HQ challenge using Playwright (sync) in Python. It extracts product data from a dynamic web page and saves it in JSON format. It also manages session data for efficient logins.
Project Structure
Technologies Used
Playwright (sync)
Python 3.12+
Rye (for dependency and environment management)
Getting Started
1. Clone the Repository
2. Install Rye (if not already installed)
Visit https://rye-up.com for installation instructions.
3. Setup Environment
4. Run the Script (Sync Version)
Features
Automatic login with session persistence
Detects login success popup using custom exceptions
Step-by-step navigation to reveal product data
Dynamic scrolling and data extraction
Save data in
products.jsonHandles failures with meaningful error messages
Configuration
Session and product data are saved inside the
data/ folder:session.json: stores sessionStorage for reuseproducts.json: stores extracted product infoTo test the login process again, delete the
data/session.json file before running the script:0 likes · 4 views · Apr 28, 2025
Automated Iden HQ challenge using Playwright in Python for data extraction.