Metadata-Version: 2.1
Name: robotframework-playerlibrary
Version: 1.0.3
Summary: A simple library for automation testing with UI and API using Playwright
Home-page: https://github.com/lynhbn/robotframework-playerlibrary
Author: Linh Nguyen Nhat
Author-email: linh0804@gmail.com
Project-URL: Bug Tracker, https://github.com/lynhbn/robotframework-playerlibrary/issues
Project-URL: repository, https://github.com/lynhbn/robotframework-playerlibrary
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# robotframework-playerlibrary
Simple GUI/API automation testing library written in Python using Playwright

Import the library:
```
*** Settings ***
Library           PlayerLibrary
```
Example keyword:
```
*** Keywords ***
Login into the system using provided account
    Input Into    id:login-email       sample-test@abc.com
    Input Into    id:login-password    yourpassword
    Click    //button[contains(.,"Sign In")]
    Page Should Have    Welcome Back!

```
Example scenario:
```
Suite Setup          Start Browser Then Open Url    https://sample-system.com/     headless=True


Test Setup       Login into the system using provided account    AND
Test Teardown       Start new browser session
Suite Teardown      Quit all browsers

*** Test Cases ***
TC_01 - Check correctness of some elements on the screen
    Element Should Be Shown    ${calendar_picker}
    Element Should Be Shown    ${apply_btn}
    Element Should Be Shown    ${clear_btn}
```
Keyword documentation at https://lynhbn.github.io/robotframework-playerlibrary/keyword_document.html
