Write a feature file that describes opening a browser and navigating to https://google.com, validating the title, and then closing the browser.
Go to Eclipse IDE.
Create a New Maven Project.
Add Selenium and Cucumber dependencies to the pom.xml file
Right-click on the project > New > File. Name it “Google.feature”. The extension must be .feature
Feature: Simple Web Interaction
Scenario: Visiting google.com
Given Open Browser
When navigate to google.com
Then Validate the Google page is open
And Close the browser
Copyright © 2023 - Proleed Academy | All Rights Reserved.