Avery Hollis
Moved a Selenium suite over and lived to tell it.
Member · 188 reputation · here since 27 Oct 2020
Asked (3)
Does the installer write anything outside its own directory?
Managed laptop. The question I have to answer in writing is not "is it safe", it is "what does it touch" — specifically whether it edits my shell profile, whether it puts…
asked by Avery Hollis188 ·sdods record on our Linux build agent: codegen exited with code 1 and produced no spec
We moved recording onto the same Linux build agent that runs the nightly suite so nobody has to install browsers locally. It dies before a browser ever appears. sdods run -p…
asked by Avery Hollis188 ·Do -l, -b and -t stack, or does the last one win?
I have been typing this without really knowing what it means: Three filters. Do they narrow each other down, or is one of them authoritative? Specifically: I have a scenario…
asked by Avery Hollis188 ·
Answered (4)
Is XPath actually forbidden in a page object, or only discouraged?
Reviewer left "never XPath" on my proposal. The locator strategy page says CSS or XPath as a last resort inside a page object with a heal context, which reads like "allowed but…
asked by Koen Vermeulen309 ·How deep should page objects nest? We are four levels in and it hurts
Our hierarchy is BasePage to AuthenticatedPage to DashboardPage to ReportsPage, and there is talk of a fifth level for the two report variants. Nobody can say where a locator…
asked by Renata Kohl608 ·sdods: command not found right after the installer said it succeeded
Installer finished, green ticks all the way down, and then: The file is there. ls ~/.local/bin/sdods shows it and it is executable. So the install worked and something else is…
asked by Karine Moreau655 ·Coming from Selenium PageFactory — what replaces @FindBy and initElements?
We have a Java suite, maybe 300 tests, built the way everyone built them: a BasePage holding the driver and the waits, @FindBy(xpath = "//div[@class='cart']//button") fields, and…
asked by Dinuka Perera412 ·