Handle elements that have changing ids all the time through Selenium Webdriver
问题 I am running the script to automate test cases and having this unique problem. I have detected and used IDs of the elements for click etc. purpose. However, all of a sudden these ids have changed and the script works no more. Another weird thing is those IDs are same as in script when inspected in Chrome but different in Firefox driver browser. Firebug for test driver: - <p class="description" onclick="selectElementTextListForIE(this,'tile29', 'tile19');selectElementTextList(this,'tile29', ''