Selenium Command Examples

Version 13.1 by Kieran Kelleher on 2007/11/29 09:35

Click a link having css class 'selcreateteam'

 clickAndWait  //a@class='selcreateteam'      
Add the first element of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'selbrowserlist'
 addSelection  //select@class='selbrowserlist'  value=0 
Add the third element of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'selbrowserlist'
 addSelection  //select@class='selbrowserlist'  value=2 
Add the item named "John Murphy" of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'selbrowserlist'
 addSelection  //select@class='selbrowserlist'  label=John Murphy