• sebastiancarlos@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      6 months ago

      Cool project! I’ll check it out.

      Regarding userscripting, from the F.A.Q.:

      Why use an external automation tool (Playwright) instead of a browser extension?

      While Beachpatrol allows to control the browser from both the OS and from a browser extension, our priority was the OS. Therefore, something like Playwright was the natural choice.

      Furthermore, while controlling the browser from an extensions is possible, Manifest v3 removed the ability to execute third-party strings of code. Popular automation extensions like Greasemonkey and Tampermonkey could also be affected by Manifest v3. The alternative is to embed the code into the extension, but that would requires re-bundling the extensions after every change. Other tricks do exist to make this approach work, and there is some hope for future Manifest v3 solutions, but this path is certainly tricky.

      It is more likely that Selenium and related tools will continue to work in the foreseeable future given the business demand for traditional browser testing.

  • TMP_NKcYUEoM7kXg4qYe@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    6 months ago

    Sounds cool but I didn’t really get how it works from the README, or I guess didn’t get a proper example. They showed that you can automagically log into website but that can also just be done with a password manager.

    • sebastiancarlos@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Unlike a password manager that just logs you in, Beachpatrol can run any automation task, like checking your email, downloading files, or filling out forms. You have to create Playwright scripts for these tasks and run them from a shell command. There is an example script already in the commands folder, which you can run with the command beackmsg smoke-test. The sky is the limit, basically.

      • TMP_NKcYUEoM7kXg4qYe@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        5 months ago

        Thanks, I missed the example. Tbh I think advertising “checking your email” sounds kinda stupid, people interested in this tool will probably use email clients and other software which is specifically designed for auto-email stuff.