Skip to contents

[Deprecated]

elem_flatmap() previously allowed you to apply a function to each element in a collection in a lazy manner. This function is now deprecated, as it did not work in all cases. Use find_each_element() and find_all_elements() instead for the simple case where you want to select the children of a collection.

element_list() is a deprecated alias for as.list.selenider_elements().

Usage

elem_flatmap(x, .f, ...)

element_list(x, timeout = NULL)

Arguments

x

A selenider_elements object.

.f

A function that takes a selenider_element and returns a selenider_element or selenider_elements object.

...

Passed into .f.

timeout

How long to wait for x to exist while computing its length.

Value

elem_flatmap() returns a selenider_elements object.

element_list() returns a list of selenider_element objects.