1.

I Am Not Able To Use "style" Attribute To Locate Element With Ie Browser?

Answer»

This is because IE expects ATTRIBUTE values to be in caps while other browsers expect it to be lower case letters. HENCE

//tr[@style="background-color:yellow"] WORKS with other browsers
//tr[@style="BACKGROUND-COLOUR:yellow"] works with IE

This is because IE expects attribute values to be in caps while other browsers expect it to be lower case letters. Hence

//tr[@style="background-color:yellow"] works with other browsers
//tr[@style="BACKGROUND-COLOUR:yellow"] works with IE



Discussion

No Comment Found