mirror of
https://github.com/microsoft/playwright.git
synced 2026-09-14 14:08:10 +08:00
11 lines
345 B
HTML
11 lines
345 B
HTML
<script>
|
|
setTimeout(() => {
|
|
const depth = new URLSearchParams(window.location.hash).get('depth') ?? '10';
|
|
const iter = window.localStorage.iter || '';
|
|
window.localStorage.iter = iter + 'a';
|
|
if (iter.length === +depth)
|
|
return;
|
|
window.location.href = window.location.href.replace('loop1', 'loop2');
|
|
}, 1);
|
|
</script>>
|