by John Hill
Ansible QE
Request: /users/search?q=devon+becker
Receives JSON Payload: {"results": [{"firstName":"Devon","lastName":"Becker"
Same Test with 100ms of latency between Jenkins and Browser
Webdriver | CDP | |
---|---|---|
w3c standard | Yes | No |
Interaction | Polling | Real-time |
Dependency | Heck | Heaven |
Cross-Browser | Yes | Sorta* |
Inherently Flaky | Yes | No |
"Weight" | Heavy | Light |
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto( fullUrl, {waitUntil: 'networkidle0'});
await browser.close();
})();
(This message brought to you by Google)