I want to check whether the value of a style element is greater than a particular value (i.e., is left > 666px ?), but I am unable to get ahold of the value.
Here is
You may capture the Computed Css value as shown in the firebug screenshot below:
like this:
WebDriver web = new FirefoxDriver(; String visibility = web.findElement(By.xpath("//your xpath")).getCssValue("display");