Skip to content

change return of find_elements API call if no matching element

This PR removes the 404 not found from the find_elements API call if no result is found. Instead we return an empty list.

I am not sure this is the right spot to make the change so feel free to correct me.
The method find_elements should not throw an error if no element is found according to:
https://www.w3.org/TR/webdriver/#find-elements

We can see it only throws an error for the method find_element (step 10):
https://www.w3.org/TR/webdriver/#find-element

Merge request reports