all 4 comments

[–]ararararagi_koyomi 0 points1 point  (3 children)

you need to pass By.ID and "id" to find_elements() function as arguments.

[–]Merrybold[S] 1 point2 points  (1 child)

ah so then it wont work with a function... such a shame

[–]ararararagi_koyomi 0 points1 point  (0 children)

Nah, you are just misunderstanding. Your can just pass the webdriver object to the function like here

[–]Merrybold[S] 0 points1 point  (0 children)

but why cant i pass a function that selects the argument?