An example for parsing and testing a site with BDD (Behavior-Driven Development) using Cucumber and Selenium.
BDD uses the natural language to describe tests:
Scenario: Finding some cheese
Given I am on the Github search page
When I search for "cheese"
And I wait for 3 seconds
Then the page title should contains the word "cheese"
npm start