0

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()

enter image description here

I am using custom credentials and I made the changes in the following link.

enter image description here

https://learn.microsoft.com/en-us/answers/questions/880061/runbooks-remain-queued-when-using-custom-hybrid-wo.html

I couldn't find anything about the solution.

Thank you.

hyhr
  • 91
  • 1
  • 3

0 Answers0