cherrypicked commit from ticket 4137 to have id atributes in html elements in...
cherrypicked commit from ticket 4137 to have id atributes in html elements in order to use them in high-level tests
cherrypicked commit from ticket 4137 to have id atributes in html elements in order to use them in high-level tests