Wiki source code of Specifying Robust Selenium Element Locators
Version 2.1 by Kieran Kelleher on 2007/11/08 14:08
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | == Introduction == |
2 | |||
3 | If you ever recorded Selenium using the IDE, you will have noticed that the recorded script will break very easily if the page layout changes or if the page has dynamic content. So, understanding how to specify Selenium Element Locators will help you build reliable tests that will continue to work with little or no maintenance as developers or dynamic data changes the DOM or page layout. | ||
4 | |||
5 | == Examples == | ||
6 | |||
7 | === Locating Images === | ||
8 | |||
9 | === Locating Links === | ||
10 | |||
11 | === Locating Input Widgets === | ||
12 | |||
13 | == Other Resources == |