Skip to main content
Ajay Sonkar

IISM Gulmarg Application Automation

A Python + Playwright automation that filled the 500-seat IISM Gulmarg skiing course application in 6 seconds instead of 120 — built in an afternoon with an AI coding agent.

PythonPlaywrightOpenCodeAI Agent

The Problem

The IISM Gulmarg skiing course application portal had only 500 seats and was opening to roughly 1,00,000 applicants at 10 AM, first come first served. Filling the application by hand took one to two minutes, so by the time a human finished typing and submitted, the available seats showed zero. Two manual attempts had already ended that way.

The Solution

Built a 2,000+ line Python and Playwright automation with the OpenCode AI agent in four to five hours. It monitored the portal intelligently instead of refreshing blindly, pre-loaded the applicant's details from a JSON file, handled photo upload and submit, and fell back to the next session or course when the first choice showed no seats.

Architecture

Python driving Playwright for browser control. An adaptive polling loop checked site availability, form availability and receipt-page reachability — every 30 seconds early on, every 10 seconds as the window approached, and every second once the form was about to go live. Applicant data was injected from a prepared JSON file, and the script waited for every ASP.NET full-page postback to settle before touching the next field. Retry and state-recovery logic kept it running through a 20-minute portal outage.

Results

The form was filled and submitted in 6 seconds versus 120 seconds by hand — 20x faster, with 95% of the time eliminated. The applicant got a seat.

Have a Similar Project in Mind?

Let's discuss how we can build something together.

Start a Conversation
WhatsApp