chrome_options.add_argument('user-data-dir=' + os.getcwd() + '\\Chrome_data\\')
from selenium import webdriver
PROXY = "23.23.23.23:3128" # IP:PORT or HOST:PORT
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--proxy-server=%s' % PROXY)
chrome = webdriver.Chrome(options=chrome_options)
chrome.get("http://whatismyipaddress.com")
async function send () {
let val = document.getElementById('inp').value;
await eel.take_py(val)();
}
@eel.expose
def take_py(txt_in):
global txt
txt = txt_in