Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Padlet Reaction State Demo

A lightweight Selenium demo for validating Padlet heart-reaction behavior on content you are authorized to test.

Windows - Python 3.10+ - Selenium - Undetected ChromeDriver

Overview

This project is a small browser-automation demo focused on one narrow task: opening a Padlet post, interacting with the heart reaction control, and checking whether the UI reflects the expected "liked" state.

It is designed for educational testing on your own content, classroom prototypes, QA experiments, or any environment where you have explicit permission to perform the interaction.

Highlights

  • Headless Chrome workflow with lightweight performance settings
  • Retry logic for unstable or shifting UI elements
  • Detection of localized Padlet reaction labels
  • Automatic handling of the guest confirmation step when present
  • Parallel task scheduler with controlled worker limits
  • Quick-stop hotkeys with cleanup for active browser instances

Safety Notice

Use this repository only for authorized testing and learning purposes.

  • Do not use it on content you do not own or manage.
  • Do not use it to manipulate engagement, misrepresent activity, or interfere with other users.
  • Review the platform rules and your local policies before running browser automation.

Requirements

  • Windows
  • Python 3.10 or newer
  • Google Chrome installed

Project dependencies are listed in requirements.txt.

Installation

python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -r requirements.txt

Configuration

Set the Padlet post URL through an environment variable before running the script:

$env:PADLET_PAGE_URL="https://padlet.com/your-workspace/your-board/wish/your-post-id"

The script intentionally refuses to run while the placeholder URL is still in place.

Run

python main.py

Controls

  • Press Q to stop the running tasks
  • Press Esc to stop the running tasks
  • Press Ctrl+C in the terminal to stop and close all Chrome windows

Project Structure

.
|-- main.py
|-- requirements.txt
|-- README.md
`-- .gitignore

Technical Notes

  • The script uses undetected-chromedriver together with Selenium for browser control.
  • Chrome is launched in headless mode with image-heavy resources blocked to reduce CPU load.
  • Worker concurrency is intentionally low by default.
  • The implementation includes fallback click strategies for cases where standard Selenium clicks are unreliable.

Customization

If you want to adapt the demo for your own testing workflow, the most relevant settings are near the top of main.py:

  • MAX_CONCURRENT_TASKS
  • TOTAL_TASKS
  • CHROME_VERSION_MAIN
  • SHORT_DELAY_RANGE, MEDIUM_DELAY_RANGE, LONG_DELAY_RANGE
  • BLOCKED_RESOURCE_PATTERNS

Disclaimer

This repository is provided as-is for educational and authorized QA-style experimentation. You are responsible for how and where you use it.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages