How to Optimize Interaction to Next Paint for Better SEO

Key takeawaysINP replaced FID and measures responsiveness across the whole visit, not just the first input.Long tasks on the main thread are the usual cause, so break up JavaScript work.Field ...
parameters POST request

How are Parameters Sent in an HTTP POST Request?

Key takeawaysPOST parameters travel in the body, not the URL, which is why they do not appear in logs.The Content-Type header decides how the server parses them: form-encoded, multipart or ...
End to End Testing for Asos.com using TestCafe in Under 30 minutes

End to End Testing for Asos.com using TestCafe in Under 30 minutes

Key takeawaysTestCafe needs no WebDriver, which is why a working suite is possible in half an hour.Automatic waiting removes most of the sleep-based flakiness beginners hit first.Use a public site ...
Best Practices for Implementing E2E (End-to-End) UI Tests

Best Practices for Implementing E2E (End-to-End) UI Tests

Key takeawaysE2E tests earn their cost only on the journeys that make money; everything else belongs lower in the pyramid.Brittleness comes from locators and timing, so use stable test hooks ...
Building your in house Device Farm on Mac OS using OpenSTF for Android Testing

Building your in house Device Farm on Mac OS using OpenSTF for Android Testing

Key takeawaysOpenSTF gives you remote access to real Android devices, which emulators cannot fully replace.The real cost is maintenance: USB stability, OS updates and device drift.Worth it when device-specific bugs ...
How to Click on Element with Puppeteer and Chrome

How to Click on Element with Puppeteer and Chrome

Key takeawaysPuppeteer's click waits for the selector, but not for the element to be genuinely interactive.Wait for visibility explicitly when the page animates or loads content late.If a click does ...
Mocking APIs using WireMock for testing negative cases when it is not possible to change the API behaviour

Mocking APIs using WireMock for testing negative cases when it is not possible to change the API behaviour

Key takeawaysWireMock lets you produce failures a real API will not give you on demand: timeouts, 500s, malformed bodies.Negative paths are where most production incidents live and where coverage is ...
Structuring integration tests using JUnit categories by features, API or type of tests

Structuring integration tests using JUnit categories by features, API or type of tests

Key takeawaysCategories let one suite be sliced by speed or area, so CI can run the fast set per commit.Group by what you want to run together, not by package ...
How to Click a Link by Text in Selenium WebDriver Java

How to Click a Link by Text in Selenium WebDriver Java

Key takeawayslinkText matches the full visible text; partialLinkText matches a substring.Both break on copy changes, so prefer a stable attribute when the text is likely to move.Whitespace and case matter, ...
How to Take Screenshots with Puppeteer using Headless Chrome Browser

How to Take Screenshots with Puppeteer using Headless Chrome Browser

Key takeawaysPuppeteer captures viewport, full-page or single-element screenshots.Set the viewport explicitly, or headless defaults produce a different image to what you expect.Wait for fonts and images before capturing, otherwise the ...
Loading...