ToolsForNerds

Web Automation Practice

Practice site with all HTML form elements, Shadow DOM, and iframes for testing Puppeteer, Selenium, and web scraping bots

Form Progress

Total Fields
0
Filled
0
Empty
0

Hold Ctrl/Cmd to select multiple

#3b82f6

Access using: document.querySelector('#shadow-host').shadowRoot.querySelector('#shadow-input')

Access iframe content using: document.querySelector('#test-iframe').contentDocument

Puppeteer Testing Guide

Regular Inputs:
await page.type('#text-input', 'value');
await page.click('#checkbox-1');
await page.select('#select-single', 'option2');
Shadow DOM:
const shadowHost = await page.$('#shadow-host');
const shadowRoot = await shadowHost.evaluateHandle(el => el.shadowRoot);
const shadowInput = await shadowRoot.$('#shadow-input');
await shadowInput.type('value');
iFrame:
const frame = page.frame('testIframe');
await frame.type('#iframe-text', 'value');
await frame.click('#iframe-checkbox');

About the Form Tester

A comprehensive form testing tool designed for developers working with browser automation, Puppeteer, Selenium, and other testing frameworks. This tool includes every possible HTML form element, Shadow DOM components, and iframe interactions for thorough testing scenarios.

Features:

  • All standard HTML input types
  • Selection controls (checkboxes, radio buttons, dropdowns)
  • Shadow DOM elements for advanced testing
  • Embedded iframe with form elements
  • File upload simulation
  • Custom form validation
  • Real-time form data capture
  • Form submission testing

Use Cases:

  • Puppeteer bot testing and development
  • Selenium automation script testing
  • Form scraping and data extraction
  • Browser automation debugging
  • Web scraping script validation
  • Shadow DOM interaction testing
  • Cross-browser testing scenarios
  • Input validation testing

Included Elements:

  • Text inputs (text, email, password, tel, url)
  • Number and range inputs
  • Date and time inputs
  • Checkboxes and radio buttons
  • Select dropdowns (single and multiple)
  • Textarea fields
  • File upload input
  • Color picker
  • Shadow DOM custom elements
  • Iframe embedded forms