Skip to content

Instantly share code, notes, and snippets.

@atthaboon
Created September 16, 2020 09:51
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/f1dd0243f57408b73524ae0877c24fc7 to your computer and use it in GitHub Desktop.
Save atthaboon/f1dd0243f57408b73524ae0877c24fc7 to your computer and use it in GitHub Desktop.
Enable debug mode
*** Settings ***
Library PuppeteerLibrary
Test Teardown Close All Browser
Suite Teardown Close Puppeteer
*** Test Cases ***
Enable debug mode
Enable Debug Mode
Open browser to test page http://127.0.0.1:7272/login-form-example.html
Input Text id=exampleInputEmail1 demo@qahive.com
Input Text id=exampleInputPassword1 123456789
*** Keywords ***
Open browser to test page
[Arguments] ${url}
${HEADLESS} Get variable value ${HEADLESS} ${False}
&{options} = create dictionary headless=${HEADLESS}
Open browser ${url} options=${options}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment