mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
10 lines
259 B
HTML
10 lines
259 B
HTML
|
<script>
|
||
|
setTimeout(() => {
|
||
|
const iter = window.localStorage.iter || '';
|
||
|
window.localStorage.iter = iter + 'a';
|
||
|
if (iter.length === 10)
|
||
|
return;
|
||
|
window.location.href = window.location.href.replace('loop1', 'loop2');
|
||
|
}, 1);
|
||
|
</script>>
|