Helper keywords for robotframework-selenium
Achieve synchornization before performing any action on WebElement
Every Helper Keyword consist following steps:
- Wait For Page Contains WebElement
- Scroll To WebElement (ignore error if any issues while scroll)
- Perform Respective Action
To install robotframework-seleniumhelper
$ pip install robotframework-seleniumhelperlibrary
Install latest changes (master)
$ pip install git+https://github.com/adiralashiva8/robotframework-seleniumhelper
Keyword documentation link
*** Settings ***
Library SeleniumLibrary
Library SeleniumHelperLibrary
*** Test Cases ***
Selenium Helper Sample
Open Browser https://www.google.com/ Chrome
Input Text Into Textbox name:q mytext
Input Text Into Textbox If Exist name:q Exist
Click On WebElement xpath://a[text()='Gmail']
# fail scenario
Input Text Into Textbox With Retry name:q1 text
[Teardown] Close All Browsers
If you have any questions / suggestions / comments on this, please feel free to reach me at
- Email:
adiralashiva8@gmail.com
⭐ repo if you like it