17 lines
580 B
Gherkin
17 lines
580 B
Gherkin
Feature: The Chrome API client
|
|
|
|
Scenario: Using the Chrome.start method
|
|
Given the Chrome client
|
|
When the start method is called
|
|
Then Google Chrome should open
|
|
|
|
Scenario: Using the Chrome.start_headless method
|
|
Given the Chrome client
|
|
When the start_headless method is called
|
|
Then Google Chrome should open headless
|
|
|
|
Scenario: Using the Chrome.stop method
|
|
Given the Chrome client
|
|
And a Chrome instance
|
|
When the stop method is called upon it
|
|
Then this Google Chrome instance should close |