Updating the eval tests.
This commit is contained in:
@@ -29,9 +29,16 @@ Feature: The Chrome API client
|
||||
When the close method is called upon the tab id
|
||||
Then the tab must close
|
||||
|
||||
Scenario: Using the Chrome.eval method
|
||||
Scenario: Using the Chrome.eval method for arithmetics
|
||||
Given the Chrome client
|
||||
And a Chrome instance
|
||||
And the id of a new Google Chrome tab opened
|
||||
When the eval method is called upon the tab id with a command
|
||||
Then this command must give back a value
|
||||
When the eval method is called upon the tab id with a arithmetic command
|
||||
Then this command must give back the result as a value
|
||||
|
||||
Scenario: Using the Chrome.eval method for JavaScript commands
|
||||
Given the Chrome client
|
||||
And a Chrome instance
|
||||
And the id of a new Google Chrome tab opened in google.com
|
||||
When the eval method is called upon the tab id with a JS command
|
||||
Then this command must give back the element requested as a value
|
||||
Reference in New Issue
Block a user