locateElementByPartialId

description

Locate an element on the page by a partial match in ID.

example of use

Given an element <div id="themainarea">...</div>, asserts that it contains the text 'Hello world':

assertText partialId=main Hello world

notes

  • This extension has been tested with Selenium 0.8.2
  • I explain the reason for creating this locator in my blog

download

partialId 1.0.zip

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.