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
driver.findElement(By.locator( yourLocator )).getAttribute( requiredAttribute )
It will return String