How would you verify that a certain css element on a page is a certain image with selenium -


I have a page that I want to check with selenium which uses a certain background image for an element I want to make sure that this image is still present on the page associated with the element. How do I do it with Selenium? If anything changes it then I am using browsermob.com so that after testing, I will call it Selenium Eyed Can run through the medium.

"post-text" itemprop = "text">

Well almos can be duplicated on one side of the suggested things ... you can check that the property of your body element is set on the image

If getAttribute returns a valid value like this:

  New Wait () {Until public bullion (return selenium.gate attribute ("Elementlokator") + "@class"). Equal ("active"); }}. Wait ("Menu item not activated.", DefaultTimeOutValue);  

This value will wait for the "active" value to be activated @.

Or, make sure that just after the page has loaded, just use an Eiffel Statement.

Hope this helps, Cheers, the era


Comments