Wrap selenium action sequence and add delay method
Filter out zero-size elements

They are not visible and should not affect capture size
Correctly handle box-shadows

Now box-shadows rects are calculated the same way as in Blink
engine.
Ignore elements with display:none properties