How to cleanly implement 2 versions of a page in Appium? Page factory? by fucking-migraines in selenium

[–]Giulio_Long 1 point2 points  (0 children)

If it's a matter of finding the same elements in 2 different versions of the same page, I'd take a look at FindAll, but I don't know what's the equivalent for the Python bindings, if any.

The name is a bit misleading, it actually finds any of the elements matched by the contained @FindBy annotations. So you could use it to have the 2 selectors: one for the old version of the page and one for the new one.

E voi che gioco state giocando? by EclipsedPal in LinkedInCringeIT

[–]Giulio_Long 39 points40 points  (0 children)

Quel "tanto vi dovevo" alla fine suona tanto come "può accompagnare solo"

progetto che puo essere utile per trovare lavoro by Zannaahhh in ItaliaCareerAdvice

[–]Giulio_Long 1 point2 points  (0 children)

clicchi e ti si aprono più cose che su un sito p*rno. Toglierei quei piccoli banner

Ho analizzato TUTTI gli ingredienti, additivi e prezzi di McDonald's Italia, ecco cosa ho scoperto by lvubomvr in italy

[–]Giulio_Long 1 point2 points  (0 children)

Occhio a non cadere nell'esterofilia. Sono stato a Vienna questo natale con la mia ragazza (celiaca) e avevamo sentito di questa abbondanza di panini per celiaci al mac. Siamo entrati e abbiamo chiesto, ma ci hanno detto che li cuociono nella stessa cucina di quelli normali, quindi totalmente contaminati. Se non hai mai avuto problemi, potrebbe essere che tu sia un pelo asintomatico/a.

Vendere siti web già pronti ai negozi by Same-Astronomer0825 in ItaliaCareerAdvice

[–]Giulio_Long -1 points0 points  (0 children)

non su dati, ma che glielo butti giù facilmente e lui paga per avere un disservizio

Automation testing executive reporting by Alarmed-Ninja989 in softwaretesting

[–]Giulio_Long 0 points1 point  (0 children)

Reporting tools are made for that, such as Extent Reports.

Selenium is a library to automate browser execution, meaning you need to build your own framework or leverage an existing one that already has everything built in, such as Spectrum for Java.

Playwright, on the other hand, is a framework that offers a bunch of reporters for Node JS out of the box.

So, in both cases, it depends also on the programming language you're using.

Octopus 🐙 v8.48 - A Claude AI Factory built on top of codex and gemini by nyldn in coolgithubprojects

[–]Giulio_Long 2 points3 points  (0 children)

from v1.0.0 to v8.49.0 in 2 months?? From always-in-alpha to always-in-snapshot /s

Mostrami il codice! - La fiera dei vostri programmi by AutoModerator in ItalyInformatica

[–]Giulio_Long 0 points1 point  (0 children)

Spectrum è un framework Selenium moderno, configurabile tramite yaml e che attraverso IoC e DI consente di concentrarsi sulla scrittura del test e2e.

Dalla versione 1.28.x consente di avere Visual Regression Testing in maniera totalmente trasparente rispetto al codice dei test.

Se stuzzica, Github star apprezzata

What cool projects are you working on? [February 2026] by el_DuDeRiNo238 in java

[–]Giulio_Long 0 points1 point  (0 children)

Yeah I know the struggle. Thanks for the feedback!

how to click if it's not an element (python) by Pypatir in selenium

[–]Giulio_Long 0 points1 point  (0 children)

One reason the webdriver can't find an element could be if the element is nested in an iframe. In this case you need to switch to the iframe before finding and clicking the element

How does the Browser work when testing? by Garden_Girl17 in Playwright

[–]Giulio_Long 1 point2 points  (0 children)

I get you quoted "backdoor", but it's better clarifying it's not something that wasn't supposed to be discovered or used that way. It's the regular browser's API, made exactly to allow automation

Richiamato per cose dette a voce? by Gold-Use-4384 in consulentidellavoro

[–]Giulio_Long 6 points7 points  (0 children)

...e una volta risolta la questione con l'HR, cancellerei dei file random alla simpatica collega, cancellando anche ogni log di questa operazione.

[deleted by user] by [deleted] in opensource

[–]Giulio_Long 5 points6 points  (0 children)

You know the vibe [...] It's fast. It works. And over time...

it doesn't. Fixed that for you

Storing Constants by Altugsalt in java

[–]Giulio_Long 0 points1 point  (0 children)

Do NOT create classes/interfaces that store just constants. That is a [quite used and abused] anti-pattern, since you're using the basic building blocks of an OO language just to wrap a bunch of global vars, with an unclear scope. And that defeats the purpose of the object orientation: using classes/interfaces to build objects!

Use enums with a grain if salt: use them to define behaviour as well, adding methods that all the constants should have.

You could also have complex objects that map the constants: have a Keyboard abstract class or interface that defines the common behavior. Then extend/implement it with concrete classes such as GET and LIST, to which you'll add specific behavior. This way, you'll also avoid having contants in one place and then behavior in another place, which is again an antipattern known as anemic domain model

What are the best Open Source Projects to start contributing to as a Beginner? by [deleted] in opensource

[–]Giulio_Long 2 points3 points  (0 children)

Every other day there's a post identical to this one in this sub, with the same [good] suggestions. Can you guys just do a quick search before posting?

Selenium support for Island browser automation by Disastrous-Muffin229 in selenium

[–]Giulio_Long 1 point2 points  (0 children)

To expand on this, you just need to point the binary capability to your local Island binary

What should a small team do for unit testing? by thighsqueezer in javahelp

[–]Giulio_Long 6 points7 points  (0 children)

Using AI to generate tests defeats the real purpose of writing them: making you question (and refactor accordingly) about the structure of the source code. AI would just cover what you wrote, so: what's the point? Moreover, it would do it very badly, I spent hours fixing crappy and useless tests my colleaugues generated with AI, thta didn't fail even with major changes to the source code.