[wtr-general] Re: Select div by style

2011-01-22 Thread Dave McNulla
Div's cannot be found by style. Use this chart to see what they can be found by: http://wiki.openqa.org/display/WTR/HTML+Elements+Supported+by+Watir You can find the div by ID then check if it's visible until browser.div(:id, "bloglist_processing").visible? sleep 0.5 end Good luck Dave On Jan

[wtr-general] Select div by style

2011-01-22 Thread RF
I have a situation in which I need to wait until some Javascript has completed. The only indication I have is a change in style of an existing div. Processing... The style changes to "visibility: visible;" while the script is running, then back to hidden when it is finished. I tried to capture th