Skip to content

Instantly share code, notes, and snippets.

@atthaboon
Created July 27, 2020 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atthaboon/2955cd9799f06866921f8c01783a0f61 to your computer and use it in GitHub Desktop.
Save atthaboon/2955cd9799f06866921f8c01783a0f61 to your computer and use it in GitHub Desktop.
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