When I start the runbook with the following test code, it is completed and shows the result but I cannot see the browser UI while it is running.
from time import sleep
from selenium import webdriver
from selenium.webdriver import ChromeOptions
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ChromeDriverManager
chrome_options = ChromeOptions()
chrome_options.add_argument("--start-maximized")
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()), options=chrome_options)
driver.get("https://www.google.com/")
print(f"Title: {driver.title}")
sleep(5)
driver.quit()
I am using custom credentials and I made the changes in the following link.
I couldn't find anything about the solution.
Thank you.