@world.absorb
def wait_for_mathjax():
 world.wait_for_js_variable_truthy('MathJax.isReady')

@ world . absorb def wait_for_mathjax ( ) : world . wait_for_js_variable_truthy ( 'MathJax.isReady' )
wait until mathjax is loaded and set up on the page .