This challenge tests your ability to create automation scripts that mimic human behavior. You will develop a Python bot that interacts with a web login form while simulating natural mouse movements and keyboard input patterns.
Your task is to create a Python script that performs the following actions on a provided website:
- Mouse Interaction: Click predetermined points(provided in
window.ACTIONS_LIST) on the page in the correct sequence - Form Input: Enter the username and password credentials (provided in
window.ACTIONS_LIST) - Authentication: Click the "Log In" button to submit the form
- Navigation: Scroll down to the bottom of the page
- Session Completion: Click the "End Session" button
The challenge tracks and analyzes your bot's behavior, including:
- Mouse movement patterns and trajectories
- Click timing and coordination
- Keyboard input speed and rhythm
- Overall interaction naturalness
Goal: Design a bot that exhibits human-like behavior patterns to achieve the highest possible score from our evaluation system.
For more details, check controller.py and comparer.py more carefully.
- Python: Version 3.10 or higher
- Docker: Latest stable version
- Basic knowledge of browser automation (Selenium/Playwright recommended)
Run the Docker container to launch the web application and evaluation system:
docker compose upThis command will:
- Start the web server hosting the login form
- Initialize the behavior tracking system
- Prepare the evaluation environment
Edit the hb_sample.py file to implement your automation logic. This file contains a basic template that you can customize with your own human-like behavior algorithms.
Run the submission script to test your bot and receive a score:
python submit.pyThe script will execute your bot and provide feedback on how convincingly it mimics human behavior.
Below are screenshots showing the application interface:
Figure 1: Initial login page with form fields
Figure 2: Post-login page with End Session button
Good luck creating the most human-like bot!