Skip to content

Commit

Permalink
Updated Selenium API from 0.8.0 to 1.0.1. Fixed typo on assertSelectO…
Browse files Browse the repository at this point in the history
…ptions. Extended support for ElementNotPresent. Backed out addition of 'store' and 'pause'.
  • Loading branch information
dshaw committed Oct 12, 2010
1 parent 24e9662 commit cae3fcb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions lib/soda/client.js
Expand Up @@ -262,7 +262,6 @@ exports.commands = [
, 'allowNativeXpath'
, 'altKeyDown'
, 'altKeyUp'
//, 'assertElementNotPresent' - should be an accessor
, 'answerOnNextPrompt'
, 'assignId'
, 'break'
Expand Down Expand Up @@ -312,7 +311,6 @@ exports.commands = [
, 'mouseUpRightAt'
, 'open'
, 'openWindow'
, 'pause'
, 'refresh'
, 'removeAllSelections'
, 'removeScript'
Expand All @@ -330,7 +328,6 @@ exports.commands = [
, 'setTimeout'
, 'shiftKeyDown'
, 'shiftKeyUp'
, 'store' // NOTE: not sure this can be supported in Soda. Variables accessed with ${var}.
, 'submit'
, 'type'
, 'typeKeys'
Expand Down Expand Up @@ -376,7 +373,7 @@ exports.accessors = [
, 'Expression'
, 'HtmlSource'
, 'Location'
, 'LogMessages' // Not in 1.0.1 docs
, 'LogMessages'
, 'MouseSpeed'
, 'Prompt'
, 'SelectedId'
Expand All @@ -387,7 +384,7 @@ exports.accessors = [
, 'SelectedLabels'
, 'SelectedValue'
, 'SelectedValues'
, 'SelectOptions' // typo s/Selected/Select/
, 'SelectOptions'
, 'Speed'
, 'Table'
, 'Text'
Expand All @@ -402,7 +399,7 @@ exports.accessors = [
, 'CookiePresent'
, 'Editable'
, 'ElementPresent'
, 'ElementNotPresent' // Selenium breaks naming convention FTL.
, 'ElementNotPresent'
, 'Ordered'
, 'PromptPresent'
, 'SomethingSelected'
Expand All @@ -418,7 +415,6 @@ exports.accessors = [
* - get
* - assert
* - assertNot
* - store
* - verify
* - verifyNot
* - waitFor
Expand All @@ -438,7 +434,6 @@ exports.accessors.map(function(cmd){
'get' + cmd
, 'assert' + cmd
, 'assertNot' + cmd
, 'store' + cmd
, 'verify' + cmd
, 'verifyNot' + cmd
, 'waitFor' + cmd
Expand Down

0 comments on commit cae3fcb

Please sign in to comment.