Parsing Gherkin Descriptions
Learn how to parse gherkin descriptions using the Gherkin class.
Gherkin supports the concept of free-form descriptions, which can be added to features, scenarios, backgrounds, scenario outlines, and rules. These descriptions are indented below the Gherkin construct they belong to, just like anything else, and can contain any content as long as the lines do not start with any Gherkin keyword. The code snippet below provides an example of a Gherkin description:
Get hands-on with 1300+ tech skills courses.