Selenium Command Examples

Version 10.1 by Kieran Kelleher on 2007/11/29 09:31

Click a link having css class 'selcreateteam'

 clickAndWait  //a@class='sel_create_team' 
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  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  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  label=John Murphy