Forum Discussion
Learner_Pranavi
3 years agoOccasional Contributor
Thanks rraghvani , I figured out the solution.
My script goes like:
page = Sys.Browser().Page("https://something.com/something..")
style_21 = page.contentDocument.defaultView.getComputedStyle(Aliases.browser.WebPage.Cell_21 , "")
Log.Message(style_21.backgroundColor)
This worked for me and I got the result as:
rgb(255,255,255)
But suddenly while running tests, I am getting Type Mismatch error.
The tests ran well previously. All of a sudden, I started getting this error.
Please help!