diff --git a/afu/test.py b/afu/test.py new file mode 100755 index 0000000..b639898 --- /dev/null +++ b/afu/test.py @@ -0,0 +1,24 @@ +#!/usr/bin/python3 + +#import os +#import re +#import subprocess + +from selenium import webdriver + +from selenium.webdriver.chrome.service import Service as ChromiumService +#from webdriver_manager.chrome import ChromeDriverManager +#from webdriver_manager.core.os_manager import ChromeType + +print('We try to connect to https://kuschel.at and get an answer "Family Kuschel and friends"') + +options = webdriver.ChromeOptions() +options.add_argument('--headless') +options.add_argument('--no-sandbox') +options.add_argument('--disable-dev-shm-usage') +driver = webdriver.Chrome(options=options) + +driver.get("https://kuschel.at") +print(driver.title) +driver.close() +