summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test/assets/input/textarea.html
blob: 6d77f3106d31e55c0d6afb8933844f266881428f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<html>
  <head>
    <title>Textarea test</title>
  </head>
  <body>
    <textarea></textarea>
    <script src='mouse-helper.js'></script>
    <script>
      globalThis.result = '';
      globalThis.textarea = document.querySelector('textarea');
      textarea.addEventListener('input', () => result = textarea.value, false);
    </script>
  </body>
</html>