Replies: 1 comment 1 reply
-
You need add the def main():
session.run_js(...)
start_server(main, ...) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried refreshing the page after session is closed with :
session.run_js('WebIO._state.CurrentSession.on_session_close(()=>{setTimeout(()=>location.reload(), 40000})')
but I kept getting the next error:
Beta Was this translation helpful? Give feedback.
All reactions