โ All prompt kitsFree ยท 16 copy-paste prompts
Selenium (Python) โ AI Prompt Kit
Copy each prompt and paste it into ChatGPT or Claude. Work through the sections in order โ roadmap โ concepts โ code โ framework โ interview prep. Tell the AI your current skill level (the prompts already include that line).
Your Learning Roadmap
ROADMAP PROMPT โ Run this first
You are an expert SDET trainer with 15 years of experience. I am a manual QA engineer transitioning into automation. My background: - [X] years of manual testing experience - Familiar with: [JIRA / test cases / regression testing / etc.] - Programming knowledge: [none / basic / intermediate] - Goal: become job-ready using Selenium with Python - Available study time per day: [30 mins / 1 hour / 2 hours] Create a structured 8-10-week learning roadmap covering: 1. Python fundamentals for testers (only what I need) 2. Selenium with Python core concepts and architecture 3. Writing my first tests 4. Framework design and best practices 5. CI/CD integration 6. Interview preparation 7. AI concepts in testing for 2025/2026 For each week provide: - Topic focus - What I will be able to do by end of week - 2-3 practice tasks - Free resources to use Format as a clean table then a detailed week-by-week breakdown. Adjust timeline based on my daily study time. Be specific โ this is my actual study plan, not a generic template.
Learn Concepts From Scratch
Prompt 2A-1: Python Basics for Selenium Testers
You are a Python instructor teaching a manual QA engineer with zero coding background. Teach me only the Python I need for Selenium automation. Practical only. Cover in order: 1. Variables and data types (str, int, bool, list, dict) 2. Functions (def, parameters, return) 3. Classes and objects โ for Page Object Model 4. If/else and comparison operators 5. For loops and list iteration 6. Exception handling (try/except/finally) 7. Imports and modules 8. Virtual environments โ what they are and setup steps Rules: testing analogies, one explanation + one code example each, ask after each if I want practice, all examples relate to web testing. Start with variables. Wait for 'next' before continuing.
Prompt 2B-1: Setup and First Selenium Python Test
You are a Selenium Python expert trainer. Walk me through setting up Selenium Python from scratch. Step 1: Install Python, create virtual environment Step 2: Install selenium and webdriver-manager via pip Step 3: Write my first test โ login to https://the-internet.herokuapp.com/login Step 4: Run with pytest from terminal Step 5: Understand passing and failing output Show setup commands for Windows and Mac/Linux separately. Show complete first test with every line explained. Give me 3 variations to try on my own โ no answers, let me try first.
Prompt 2B-2: pytest + conftest.py for Selenium
You are a Selenium Python pytest expert. Teach me how to use pytest properly with Selenium Python. Cover: 1. What conftest.py is and why it exists 2. Browser fixture that automatically launches and quits Chrome 3. Scope levels (function, class, module, session) โ when to use each 4. Parametrize โ run same test with multiple data sets 5. pytest marks โ tag tests and run subsets 6. pytest-html report generation Show complete conftest.py. Show a test file using that fixture. Show the command to run only smoke tests. Top 3 pytest mistakes Selenium Python beginners make?
Prompt 2B-3: Locators and Waits in Selenium Python
You are a Selenium Python trainer. Teach me locators and waits โ the most critical concepts for stable tests. LOCATORS: All strategies with Python syntax, when to use each, CSS vs XPath decision guide. WAITS: - Implicit wait in Python โ how to set it - WebDriverWait + expected_conditions in Python Show top 5 conditions with examples - Why time.sleep() is dangerous Show WRONG way then CORRECT way for: wait for clickable, wait for element to disappear, wait for text to change. End with a wait decision guide. Top 3 wait mistakes?
Prompt 3A-1: AI-Assisted Selenium Python Test Writing
You are a senior Selenium Python SDET acting as my coding partner. I will describe a scenario in plain English. You will: write the complete Selenium Python test, explain every line, point out edge cases, suggest improvements. My scenario: [DESCRIBE YOUR SCENARIO HERE] Use https://www.saucedemo.com if I do not specify a site. After writing, ask me: - Do I want negative test cases? - Do I want this converted to Page Object Model? - Do I want data-driven variations with pytest parametrize?
Prompt 3B-1: Debug My Failing Selenium Python Test
You are an expert Selenium Python debugger. My test is failing. Help me debug it. Failing code: [PASTE HERE] Error message: [PASTE HERE] Identify the failure cause, explain why it happens, show corrected code, tell me how to prevent it. Suggest one defensive practice to add.
Build A Full Selenium Python Framework
Prompt 4-1: Framework Architecture
You are a Principal SDET with Selenium Python expertise. Guide me through building a production-ready Selenium Python framework. Cover: 1. Project folder structure โ exact tree 2. requirements.txt โ packages and why each is needed 3. Page Object Model โ BasePage + example page classes 4. conftest.py design for browser and environment management 5. pytest.ini configuration 6. allure-pytest for reporting 7. .env files for environment variables Show complete folder tree with explanations. Top 3 Selenium Python framework mistakes?
Prompt 4-2: Page Object Model in Python
You are a Selenium Python POM expert. Build a complete POM for login + dashboard flow. Step 1: BasePage class with common Selenium methods Step 2: LoginPage class with locators and action methods Step 3: DashboardPage class Step 4: pytest test file using both pages with fixtures Step 5: Maintenance advantage โ concrete locator change example Show all code with comments. Give me a practice exercise.
Prompt 4-3: CI/CD with GitHub Actions
You are a DevOps and Selenium Python expert. Build a GitHub Actions workflow for my Selenium Python project. Complete .github/workflows/selenium-python.yml that: - Triggers on PR and push to main - Sets up Python and installs dependencies - Runs tests headless with pytest - Uploads HTML report as artifact Show complete file with comments. Top 3 CI failure reasons for Selenium Python?
Interview Preparation
Prompt 5-1: Mock Interview โ Junior Level
You are a senior SDET interviewer at a product company. Conduct a mock Selenium Python interview with me at junior SDET level. Rules: - Ask one question at a time - Wait for my answer before giving feedback - After my answer: tell me what was good, what was missing, give the ideal answer - Ask 10 questions total Include: 3 conceptual, 3 practical scenario, 2 comparison, 2 code-reading questions. Start now. Ask your first question.
Prompt 5-2: Mock Interview โ Senior SDET Level
You are a Principal Engineer interviewing for a Senior SDET role. Conduct a senior-level Selenium Python mock interview. Focus on: framework architecture decisions, performance and scalability, CI/CD pipeline design, flaky test management, test strategy, mentoring. Rules: one question at a time, wait for answer, give structured feedback. 8 questions total. Begin.
Prompt 5-3: Salary Negotiation for Automation Roles in India
You are a career coach specialising in QA and SDET roles in India. I am transitioning to automation using Selenium Python and preparing for interviews. My profile: - [X] years manual testing experience - Transitioning to automation - Target role: [SDET / Automation Engineer / Senior QA] - Target city: [Chennai / Bangalore / Hyderabad / Remote] Provide: 1. Current market salary range for my profile in India (2025/2026 data) 2. Exact words to say when asked for expected CTC 3. How to handle an offer below my expectation 4. What NOT to say in salary discussions 5. How to negotiate when moving from manual to automation roles
AI Concepts And AI-Assisted Testing
Prompt 6-1: AI in Testing โ Interview Answer Framework
You are an expert on AI in software testing. Teach me how to answer AI-related questions in a Selenium Python SDET interview. Cover these with ideal interview answers: 1. How is AI changing test automation in 2025/2026? 2. How do you use AI tools like ChatGPT or Claude in daily testing work? 3. What is visual AI testing and which tools support it? 4. How would you test an AI-powered feature as an SDET? 5. What is self-healing test automation and how does it work? For each: concept โ interview answer โ specific tool to name โ the one line that impresses. Format: Question โ Concept โ Answer โ Key Line
Prompt 6-2: Generate Tests from Requirements Using AI
You are a senior SDET who uses AI daily in Selenium Python workflows. Teach me to generate tests from user stories using AI. Walk through your complete workflow: Step 1: Turn a user story into testable requirements Step 2: Exact prompt to generate test cases from the story Step 3: Exact prompt to turn test cases into automation code Step 4: How to review and validate AI-generated code Step 5: What AI gets wrong most often and how to catch it Live example using this user story: 'As a user, I want to reset my password so I can regain access to my account if I forget my credentials.' Show: user story โ test cases โ automation code. Then ask me to try with a story of my own.
Prompt 6-3: Build Your AI-Assisted Daily Testing Workflow
You are a senior SDET who integrates AI into daily work. Build a practical AI-assisted workflow for my daily testing tasks. Cover: 1. Using ChatGPT/Claude for test case generation - The exact prompt structure that works - What to provide and what AI cannot figure out alone 2. Using AI for professional bug report writing from rough notes 3. Using AI for test data generation 4. Using AI for automation code review โ finding anti-patterns 5. The daily AI habits of a productive SDET in 2025 End with: the one AI skill every QA engineer should master first.
Want the matching interview Q&A and coding kits for Selenium? Browse the kits โ
Want new prompt kits in your inbox?
Get new prompt kits, QA resources, and guides as they drop. No spam.