be4foss, to KDE
@be4foss@floss.social avatar

Selenium automation for measuring software's energy consumption?

@prady0t wants to guide you!

Read about his Season of KDE 2024 work on documentation for AT-SPI, including video guides for the community.

"How Selenium Helps Build Sustainable Software (And More)"

https://eco.kde.org/blog/2024-04-11-sok24-selenium/

Keep an eye here for the videos (coming soon)!

@kde

jeffsheets, to random
@jeffsheets@hachyderm.io avatar
jeffsheets,
@jeffsheets@hachyderm.io avatar
koehnlein, to random
@koehnlein@mastodon.social avatar

Today was blogging day!

"Migrate Codeception tests from local selenium to @ddev selenium add-on" https://www.koehnlein.eu/en/blog/2024/ddev-codeception-selenium/

jpmens, to random
@jpmens@mastodon.social avatar

deleted_by_author

  • Loading...
  • resmo,
    @resmo@mstdn.social avatar

    @jpmens I would try with https://stackoverflow.com/a/6282203 also see comments

    barefootstache, to random
    @barefootstache@qoto.org avatar

    (153/200)

    There are two main ways to a , either actively or passively.

    Active scraping is the process of using a trigger to actively scrape the already loaded webpage.

    Passive scraping is the process of having the tool navigate to the webpage and scrape it.

    The main difference is how one is getting to the loaded .

    barefootstache,
    @barefootstache@qoto.org avatar

    (154/200)

    To passively scrape a webpage one uses automation tools, ideally headless browsers like or . Of course one can use any tool that is typically used for testing in the .

    The biggest obstacle for passively scraping is dealing with either or .

    There are options to use captcha farms for a small monetary fee. And Cloudflare can be over come by IP hopping.

    In general, passively scraping only works on websites that were poorly configured.

    villares, (edited ) to random Portuguese
    @villares@ciberlandia.pt avatar

    I hate Google, but can be handy.
    We had some teaching examples of with on colab because installing the webdriver locally can be challenging for some students.
    Google broke selenium scraping on colab. :((
    Any suggestions? Something else..?

    framasky, to random French
    @framasky@framapiaf.org avatar

    Plop ! J’ai fait un petit avec pour récupérer les pages protégées par Cloudflare 🙂

    Si vous voulez tester :
    https://framagit.org/luc/selenium-proxy-for-cloudflare

    Edent, (edited ) to random
    @Edent@mastodon.social avatar

    Before I ask ChatGPT for suggestions…

    There's a website which has a download button.
    The button dynamically generates a "blob" which is then downloaded.
    I want to use 's Chrome Webdriver to "click" that button and save the file to a specific location.

    Is that possible without lots of funky JS injection?

    (I am using a headless Linux box, so can't launch Chrome normally tools.

    Edent, to python
    @Edent@mastodon.social avatar

    I've spent the evening learning - quite good fun being able to manipulate the web and take screenshots using .

    But what's really cheesing me off if non-semantic class names. Seriously - what genius came up with a framework which dumps random strings into nice orderly HTML properties?

    diyrebel, to technology in Google engineers want to make ad-blocking (near) impossible

    Perhaps not at all.

    But the limitation of using is a big one. Being forced to work in java, forced to use the resource hog of a modern gui browser, forced to reveal more browserprint info, being browser-dependent, etc. Selenium is my last choice when desperation is sufficiently high.

    maaretp, to random
    @maaretp@mas.to avatar

    Congratulations for Pallavi Sharma on her most recent book publishing - is alive and well, and being taught by great folks like her. https://www.amazon.com/Selenium-effective-scripts-applications-English-ebook/dp/B0C4B17181/

    be4foss, to random
    @be4foss@floss.social avatar

    How to hit 3 KDE goals with one proverbial stone!

    1. Automate And Systematize Internal Processes

    Learn how Nitin's exciting work on Selenium-AT-SPI in Season of KDE 2023 () made progress in all 3 of KDE's goals at the blog:

    https://eco.kde.org/blog/2023-05-04-sok23-kde-eco-selenium-sum-up/

    Automated testing is crucial for the continued quality of software. The webdriver automates such tests. Selenium-AT-SPI does the same but for programs.

    @nitintejuja

    @allon

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • GTA5RPClips
  • mdbf
  • Youngstown
  • tacticalgear
  • slotface
  • rosin
  • kavyap
  • ethstaker
  • everett
  • khanakhh
  • JUstTest
  • DreamBathrooms
  • InstantRegret
  • cubers
  • normalnudes
  • Leos
  • ngwrru68w68
  • cisconetworking
  • modclub
  • Durango
  • provamag3
  • anitta
  • tester
  • lostlight
  • All magazines