@world.absorb
def css_check(css_selector, wait_time=GLOBAL_WAIT_FOR_TIMEOUT):
 css_click(css_selector=css_selector, wait_time=wait_time)
 wait_for((lambda _: css_find(css_selector).selected))
 return True

@ world . absorb def css_check ( css_selector , wait_time = GLOBAL_WAIT_FOR_TIMEOUT ) : css_click ( css_selector = css_selector , wait_time = wait_time ) wait_for ( ( lambda _ : css_find ( css_selector ) . selected ) ) return True
checks a check box based on a css selector .