Updated test for range slider in time slider.

Instead of raw comparison against an HTML string to get style information,
now proper selenium function is used to get value of CSS property.