@world.absorb
def wait_for_loading():
 world.wait_for((lambda _driver: (len(world.browser.find_by_css('div.ui-loading.is-hidden')) > 0)))

@ world . absorb def wait_for_loading ( ) : world . wait_for ( ( lambda _driver : ( len ( world . browser . find_by_css ( 'div.ui-loading.is-hidden' ) ) > 0 ) ) )
waits for the loading indicator to be hidden .