• 🅃🅾🅆🅴🄻🅸🄴@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    I have a novice coding question using the mouse tracking as an example: Is it possible to intercept and replace mouse tracking data with generic inputs? For example, could you implement an overlay that blocks mouse interactions, and instead of physically clicking on elements, send a direct packet to the application to simulate selecting those elements?

    • BradleyUffner@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      Yes, it’s possible. That’s the way a lot of automated web UI testing tools work. The problem with doing it during normal browser use is that your intentional actions with the real mouse wouldn’t work right, or the page would start acting like you clicked on things you didn’t click on.