Skip to content

Instantly share code, notes, and snippets.

@atthaboon
Created July 12, 2020 11:07
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/717b4d22725d0626b64b2f0fcef487a3 to your computer and use it in GitHub Desktop.
Save atthaboon/717b4d22725d0626b64b2f0fcef487a3 to your computer and use it in GitHub Desktop.
Demo selenium flaky test
*** Settings ***
Library SeleniumLibrary
*** Test Cases ***
Demo selenium flaky test
Open Browser http://127.0.0.1:7272/ajax-demo.html browser=chrome
Maximize Browser Window
Input Text id=idcard 123456789
Click Element id=verify
Wait Until Element Is Not Visible id=loading
Click Element id=submit
Wait Until Page Contains Login succeeded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment