tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

fieldset-middleclick.html (731B)


      1 <!DOCTYPE HTML>
      2 <html class="test-wait">
      3 <head>
      4 <script src="/resources/testdriver.js"></script>
      5 <script src="/resources/testdriver-actions.js"></script>
      6 <script src="/resources/testdriver-vendor.js"></script>
      7 <style>
      8 #f {
      9  overflow-y: scroll;
     10  width: 100px;
     11  height: 100px;
     12 }
     13 </style>
     14 </head>
     15 <body>
     16 <fieldset id="f">
     17  <p>test</p>
     18  <p>test</p>
     19  <p>test</p>
     20  <p>test</p>
     21  <p>test</p>
     22  <p>test</p>
     23 </fieldset>
     24 <script>
     25 onload = async () => {
     26  const actions = new test_driver.Actions();
     27  const button = {button: actions.ButtonType.MIDDLE};
     28  await actions.
     29      pointerMove(50, 50).
     30      pointerDown(button).
     31      pointerUp(button).
     32      send();
     33  document.documentElement.className = "";
     34 };
     35 </script>
     36 </body>
     37 </html>