Add queryElement
(singular) API in addition to queryElements
#1403
Labels
regression-testing
Related to AVA regression tests of example pages or AVA framework implementation within repo
In #1343 we added
queryElements
as a wrapper for WebDriverfindElements
, which would fail the test if no element was found.In #1017 we tried to adopt this in the test for that PR, but there were multiple cases where it used
findElement
to get the first element. UsingqueryElements
makes the test slightly slower (in theory) and the code more convoluted since it needs to get the first element of the resulting array.vs (proposed)
cc @smhigley @jongund @nschonni
The text was updated successfully, but these errors were encountered: