Simple age verification using a checkbox confirmation. This pattern tests a scraper's ability to detect form elements, manipulate checkbox state, and handle cookie-based session persistence.
This is the simplest form of age verification. Users check a box confirming they are 18 or older, and optionally choose to remember this choice. The verification state is stored in a cookie.
For testing purposes, you can bypass this gate by setting the cookie directly:
document.cookie = "age_verified=true; max-age=2592000; path=/";By checking this box, you confirm that you meet the minimum age requirement
<form id="age-gate-form">
<div class="checkbox-wrapper">
<input type="checkbox" id="age-confirm" name="age-confirm" />
<label for="age-confirm">
I am 18 years of age or older
</label>
</div>
<div class="checkbox-wrapper">
<input type="checkbox" id="remember-me" name="remember-me" />
<label for="remember-me">
Remember my choice for 30 days
</label>
</div>
<button type="submit">Enter Site</button>
</form>