How can I get the clientwidth and clientheight if I have a list of img
imgs = document.findElements(By.cssSelector("a>img"));
for(DOMElemnt img:imgs){
double height =img.getAttribute("height");//not always works ,sometime return null value
//What API can I use?
}
Or should I use jquery? but how can it combined with jxbrowser API? Thanks!