In the UiPath Platform, the WebDriver protocol introduces support for headless browser automations. This means that browser automations don't necessarily have to rely on visual elements on screen, such as window frames. Automations are executed in the background, without you having to keep up the browser window. Nonetheless, the WebDriver protocol is not strictly meant for headless browser automations, and can also be used to operate browsers visually.
Automation projects with the WebDriver protocol can be created for the following browsers:
- Google Chrome
- Mozilla Firefox
Automations for the New Edge Browser with the WebDriver protocol are not supported by the UIAutomation package v19.11.3. If you wish to use Edge Chromium with WebDriver please consider upgrading to UIAutomation v20.4.1 or newer.
Automations via the WebDriver protocol do not require you to install the corresponding browser extensions, but they do require the corresponding browser webdriver executable.
Although the WebDriver protocol can be used for both headless and visual browser automations, it is not meant to replace the UiPath browser extensions, giving you the freedom to use whichever option suits you best.
Selectors generated by the WebDriver protocol are the same as those generated by the UiPath browser extensions. This applies for both headless and visual browser automations, but not to window frames.
The WebDriver opens a new browser session (process) every time, which is independent of any other browser session. When the browser is closed, the corresponding webdriver application (
msedgedriver.exe) is also terminated along with all the associated browser sessions.
Automations created with the WebDriver protocol are able to execute browser activities inside and outside of Open Browser containers, and this applies for both headless and visual browser automations. Moreover, native selectors are generated with full interactive selection support for visual browser automations.
Updated about a year ago