I find your code/screenshot hard to read, especially the almost muted quotes. As a result, I’m not going any further than pointing out where I think your problem lies.
-
the
style
property on a DOM element is exactly that: a PROPERTY. In Groovy terms, that’s an object. -
the
style
attribute in HTML is used to build thestyle
property.
As Mark Twain is quoted as saying, the problem aint what you don’t know, it’s what you think you know that aint so.
Lastly, why are you trying to modify the AUT?