Webbrowser.open_new_tab() doesnt work on my app

Hi, everyone here.
Recently, I am really into a wonderful friend named Streamlit.

I just finished deploying the app after confirming that the program I created as a project was running without any problems in the local environment.

However, when it’s running in the app version, the webbrowser function doesn’t work.

I’m worried because it works normally in the local environment and doesn’t work when it’s deployed as an app.

there is my code if you look at the code 277 line in the link above.

This code has to display the URL in a new window by combining keywords based on the information entered by the user.

It should work as shown below, but it only works in my local environment.

ezgif-3-bf4cd675d5

I would appreciate it if anyone can give me some advice about this!!

Best,

1 Like

I’m having the same problem. Did you find a solution for this?

I am also getting this problem at my web app

Webbrowser can control the browser only in the same computer it is running. It cannot control the browser in your computer while it is running in someone else’s computer.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.