You can use something like that (possible example of it with visualizer here) or ask the server on which port is running and open a browser to http(s)://localhost:{port}/
.
print(f"https://localhost:{server.port}/")
Also if you don’t want to show it inline, you can start your server that way too.
server.start(
exec_mode="task",
port=0,
open_browser=True, # Up to you to make the browser open a tab or not
show_connection_info=False,
disable_logging=True,
timeout=0,
)