I’m trying to monitor CSS element of a button that shows different colours
When using the selector of the div class of the button and changing from text to style the background-color does appear in the preview but when the check runs it displays it as undefined.
I will post pictures tomorrow is there anything I could be doing wrong?
is it possible that when the page is being monitored, the color has not been set? as a test, can you try monitoring the outerHTML property and see what is the monitored text?
outerHTML not containing the style attribute confirms that the element didn’t have the style attribute when it was opened.
can you think of any reason why that could happen? for example, does the page need more time to render its content or does the page need to be visible to render its content fully?