On gmail's login page, the id is always the same.

If you're using a site which doesn't keep the same ID, you'll need to 
find something else which is immutable (even a parent, child, or 
adjacent element) and use that as the identifier.

-- 
Posted via http://www.ruby-forum.com/.