human
I wrote the below code

    def inner(*args, **kwargs):
        prefix = round((time.time() * 1000))
        world.capture_screenshot('{}_{}_{}'.format(prefix, func.func_name, 'before'))
        ret_val = func(*args, **kwargs)
        world.capture_screenshot('{}_{}_{}'.format(prefix, func.func_name, 'after'))
        return ret_val
    return inner

What's a good function header?
assistant
#Here is Python program to fix = round((time.

@world.absorb
def capture_screenshot_before_after(func):