First of all, thank you for making a great app.
Running the app from the outside was successful.
However, when I press the button of my app, Selenium works and runs the Chrome browser, but the problem is that the browser runs local. Is it impossible to launch a browser from an external computer?
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
import streamlit as st
import pandas as pd
from datetime import time
run = st.button('Run')
if run :
chrome_optiins = Options()
chrome_optiins.add_experimental_option('detach', True)
chrome_optiins.add_experimental_option('excludeSwitches', ['enable-logging'])
service = Service(executable_path=ChromeDriverManager().install())
# URL
driver = webdriver.Chrome(service=service,options= chrome_optiins)
#Chrome Browser Size
driver.set_window_size(1400, 1000)
# connect
driver.get('https://discuss.streamlit.io/)
Thank you.