On Friday, November 3, 2017 at 10:25:06 AM UTC-5, Titus Fortner wrote:
>
> Call the style('left') method after your sleep to see what the correct
> final value is. I didn't actually test it.
Yep, just played around with it some more. So the trick is that the style
returns the pixels. I can do something like this:
browser.wait_until { browser.element(:id, "areas").style("left") ==
"-700px" }
It starts out at -714px. So here the check is for the pixel location after
the pop-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]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.