Menu

#214 Find.ByStyle("background-position", "0px -266px")

closed
nobody
5
2012-09-15
2010-02-09
Anonymous
No

There is a bug with: Find.ByStyle("background-position", "0px -266px") in 'WatiN-2.0.20.1089-net-2.0'. This code worked properly in previous version.

This bug didn't reproduced in previous version 'WatiN-2.0.10.928-net-2.0'.

Thanks in advance.

Kind regards,
Stanislav Hordiyenko

Discussion

  • Jeroen van Menen

    In WatiN RC1 there is a change to also support styles coming from a CSS file (instead of only supporting inline styles). This might be the cause that you do need to make a small change. Try checking "backgroundPosition" instead of "background-position"

     
  • Jeroen van Menen

    Can't reproduce

     

Log in to post a comment.