Hi just a quicky.
I have to write a Selenium test and I need to get an element by the src as there is no ID for it.
How do I go about doing something like //div[@id='content-inner'] but with @src='../mapshop/images/buy.png' or even better using a contains 'buy.png'?
I've tried testing if the image is there but, selenium.IsElementPresent("//img [@src='../mapshop/images/buy.png']") but that just returns false.