Skip to main content

Clean up drivers and open browsers before next execution

Some drivers and browser windows can remain open after the previous execution and affect the current processes.

To close older web drivers or opened browser windows, add the following properties to worker.bat. The default value is false.

info

Since Work.AI v10.2.9, the driver clean-up mechanism is enabled by default.

-Dwebdriver.edge.clean-on-startup=true
-Dwebdriver.chrome.clean-on-startup=true
-Dwebdriver.ie.clean-on-startup=true
-Dwebdriver.edge-in-ie.clean-on-startup=true