Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Demo script for puppeteer-percy-demo
*** Settings ***
Library PuppeteerLibrary
Library PuppeteerPercy
Test Teardown Close Browser
*** Test Cases ***
Capture Example page
${HEADLESS} Get variable value ${HEADLESS} ${False}
&{options} = create dictionary headless=${HEADLESS}
Open browser http://example.com options=${options}
Maximize Browser Window
Percy Snapshot Example page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment