mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-11 12:33:45 +03:00
1120b82ba2
Fixes #19685 Fixes #20093
11 lines
258 B
HTML
11 lines
258 B
HTML
<!DOCTYPE html>
|
|
<button>increment</button>
|
|
<h1>count: 0</h1>
|
|
<script>
|
|
window.count = 0;
|
|
document.querySelector('button').addEventListener('click', () => {
|
|
++window.count;
|
|
document.querySelector('h1').textContent = `count: ${window.count}`;
|
|
});
|
|
</script>
|