Wiki source code of Selenium Command Examples

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

Show last authors
1 Click a link having css class 'sel//create//team'
2
3 | clickAndWait | ~/~/a[[@class='sel_create_team']] |
4 Add the first element of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'sel//browser//list'
5 | addSelection | ~/~/select[[interwiki:class='sel_browser_list':]] | value=0 |
6 Add the third element of a list browser (aka. 'select' element) to the current selections. The list browser is identified by css class 'sel//browser//list'
7 | addSelection | ~/~/select[[interwiki:class='sel_browser_list':]] | value=2 |
8 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 'sel//browser//list'
9 | addSelection | ~/~/select[[interwiki:class='sel_browser_list':]] | label=John Murphy