John Hill
Web UI Test Engineer,
Space Mission Control Software, KBR
NASA Ames Research Center
unlikelyzero.com
#python example
pip install selenium
from selenium import webdriver
mydriver = webdriver.Chrome()
mydriver.find_element_by_xpath(xpaths['username'])
username
password
Search Google Chrome... for "google chrome download" ?
# Download chromedriver
pip install chromedriver
Insert 100ms of "comcast" here
Same Test with 100ms of "comcast"
ping ondemand.saucelabs.com
Webdriver | CDP | |
---|---|---|
w3c standard | Yes | No |
Interaction | Polling | Real-time |
Dependency | Heck | Heaven |
Cross-Browser | Yes | Sorta* |
Inherently Flaky | Yes | No |
"Weight" | Heavy | Light |
(Contact info)
github.com/unlikelyzero
unlikelyzero.com
ministryoftesting.slack.com
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)