Rewrite getElementsByClassName-31.htm to work better with automation.