Closed
Description
@rtomac @emanlove when i user click image src=xxx.jpg, there is a error message "ValueError: Element locator with prefix 'src' is not supported".
But the document is "Clicks an image found by locator
.
Key attributes for images are `id`, `src` and `alt`. See
`introduction` for details about locating elements."
It means i can use src for locators.
Well, I checked the elementfinder.py in Selenium2Library.locators, and I add one line "'src': self._find_by_default," in init, then it works.
Can you fix this bug in next version? Tks
Metadata
Metadata
Assignees
Labels
No labels