how can I check frontend button sizes, logos, and images are loading or not?


You can look at the CSS values associated with an element.

enter image description here

| improve this answer | |

You can check size of an element with:

driver.findElement(By.cssSelector(".example css[selector]")).getSize();
| improve this answer | |

Yes you can check if the element is visible on DOM or not by explicit wait.(wait untill visibility of element) and for size i think you should to get size of that webelement by cssvalue!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.