Browser Automation made easy. Most simple way to automate any website reliably. ___
Key features
- Only few BDD style, easy-to-understand, easy-to-remember steps written from the perspective of end user and how they would interact with the the website and enough to cover most required use cases.
- Framework agnostic( doesn’t depend on any framework code ).
- doesn’t require writing step implementation or any other Javascript Code.
- doesn’t require writing locators, Page Objects, browser.sleep().
___
Step Examples
## Action steps When User "clicks" on a "link" that contains text "Input Forms" When User "clicks" on a "button" that contains text "Show Message" When User "clicks" on an element that has css "div.expand" and contains text "expand" ## Form entry steps And User "enters" following form fields | locateBy | cssSelector | partialText | inputType | value | | css | #user-message | | | <InputMsg> | | inputByLabel | | First Name | | <firstName> | | inputByLabel | | Country | dropdown | USA | ## Verification steps And User should see following elements displayed on page | locateBy | cssSelector | partialText | | css | span#displayvalue | <Total> |
Execution
``` yarn wd:update (once)
yarn wd:start yarn test-cukes yarn gen-report ``` ___
Dependencies
- cucumber-js
- selenium( needs java 8+ )
- webdriver-manager