Fix py.find() method when timeout equals 0
1.12.6 - 2021-05-23
Overview
Fix #196
This is a quick fix to
find()
method indriver.py
, but no other functionality has changed.
py.find(timeout=0)
was using
self.webdriver.find_element()
which only returns a single element. This is now fixed to use the appropriate find_elements()
method instead.
So py.find()
returns an Elements
object (aka a list of elements) as expected! All is well in the world again 😄