Wiki source code of Selenium Command Examples

Version 16.1 by Kieran Kelleher on 2007/11/29 09:27

Show last authors
1 Click a link having css class 'sel//create//team'
2
3 |clickAndWait|~/~/a[[interwiki:class='sel_create_team':]]
4
5 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'
6
7 |addSelection|~/~/select[[interwiki:class='sel_browser_list':]]|value=0
8
9 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'
10
11 |addSelection|~/~/select[[interwiki:class='sel_browser_list':]]|value=2
12
13 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'
14
15 |addSelection|~/~/select[[interwiki:class='sel_browser_list':]]|label=John Murphy