12 Dec 2019 08:34 PM
I'm quite used with User Tagging with CSS selectors in Chrome. Now I have an application that is run on IE, and doesn't even work in Chrome. Other options for User Tagging are not easily implementable. How can I determine the correct CSS selectors in this situation?
Solved! Go to Solution.
12 Dec 2019 10:22 PM
In IE you don’t have option to extract css selector like in chrome. This extracted from chrome (even if app may work) can be unacceptable for IE is engine. In such case best option is looking into source code of the page. If you have Id or class that is related to element that contains user name, you are lucky and you don’t have to worry about it. Just use .class or #elementid as selector. If this is more complicated, you can save page in IE as HTML and than open it in chrome. In such case it should load, than you can try dev tools to extract css selector. But here may not work properly because IE (depends of version) may not work with nth selector for example. You should try 🙂
Sebastian
12 Dec 2019 11:18 PM
Thanks Sebastian,
Saving the page and opening it in Chrome seems a nice trick to me. It will then be pretty easy to check it in IE with document.querySelector().