Created
July 27, 2020 03:32
-
-
Save atthaboon/2955cd9799f06866921f8c01783a0f61 to your computer and use it in GitHub Desktop.
Demo script for puppeteer-percy-demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** 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