def get_main_sandboxed(lua, script):
    env = run_in_sandbox(lua, script)
    main = env[b"main"]
    _check_main(main)
    return main, env
should raise an exception for not send compete parameters for URL construction
dataset/ETHPy150Open scrapinghub/splash/splash/lua.py/get_main_sandboxed--crossover with--dataset/ETHPy150Open biicode/client/test/rest/rest_api_test.py/RestApiTest.test_incomplete_url_definition