[30388f42] Infrastructure Hardening: Repaired CE/Connector DB schema, fixed frontend styling build, implemented robust echo shield in worker v2.1.1, and integrated Lead Engine into gateway.

This commit is contained in:
2026-03-07 14:08:42 +00:00
parent 35c30bc39a
commit d1b77fd2f6
415 changed files with 24100 additions and 13301 deletions

View File

@@ -0,0 +1,24 @@
import tempfile
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
chrome_options = Options()
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--disable-dev-shm-usage')
chrome_options.add_argument('--window-size=1920,1200')
chrome_options.binary_location = "/usr/bin/chromium"
# TEMP DIR für User Data
user_data_dir = tempfile.mkdtemp()
chrome_options.add_argument(f'--user-data-dir={user_data_dir}')
try:
driver = webdriver.Chrome(options=chrome_options)
print("WebDriver erfolgreich gestartet!")
print("Typ:", type(driver))
print("Session ID:", driver.session_id)
driver.get("https://www.example.com")
print("Titel der Seite:", driver.title)
driver.quit()
except Exception as e:
print("Fehler beim Starten des WebDrivers:", e)