hi.  any one has any idea regarding this issue.
On 25 Jul 2011 14:26, "sachin marne" <[email protected]> wrote:
> Hi,
>
> I can access background color of div in IE7 with following code
>
> @browser.div(identifier).style.backgroundcolor.to_s
>
> But I m getting exception in firefox for
> @browser.div(identifier).style.backgroundcolor.to_s
>
> as follows
>
>
> NoMethodError: undefined method `backgroundcolor' for "[object
> CSSStyleDeclaration]":String
>
> I also tried
> @browser.div(identifier).style['backgroundcolor']
> @browser.div(identifier).style['background-color']
>
> but it returnung nil.
>
> Please help me out.

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to