this post was submitted on 30 May 2024
87 points (98.9% liked)

Linux

47948 readers
1521 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 11 comments
sorted by: hot top controversial new old
[–] Deckweiss@lemmy.world 10 points 5 months ago (2 children)

sounds like userscripting with extra steps

Also, here is another cool project that mounts your browser tabs as a filestructure https://github.com/osnr/TabFS

[–] sebastiancarlos@lemmy.sdf.org 4 points 5 months ago* (last edited 5 months ago) (1 children)

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.

[–] Deckweiss@lemmy.world 3 points 5 months ago

Yeah, just use firefox.

[–] semperverus@lemmy.world 2 points 5 months ago

This sounds a lot like Selenium

[–] gramgan@lemmy.ml 8 points 5 months ago

How have I never heard of this! This is awesome!

[–] Moorshou@lemmy.zip 3 points 5 months ago (1 children)

I never even thought that automating a browser would be a thing!

[–] BrianTheeBiscuiteer@lemmy.world 4 points 5 months ago

It's based on Puppeteer which has been around awhile. It's pretty useful for automating UI tests.

[–] MigratingtoLemmy@lemmy.world 3 points 5 months ago
[–] TMP_NKcYUEoM7kXg4qYe@lemmy.world 2 points 5 months ago (1 children)

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.org 2 points 5 months ago (1 children)

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 3 points 4 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.