UiPath Advanced RPA Developer (UiARD) — Question 80
A developer wants to use separate user data folders for browsers in the Main and PiP sessions. What is the correct setting of the UserDataFolderMode property on the Open Browser activity?
Answer options
- A. BrowserUserDataFolderMode.CustomFolder
- B. BrowserUserDataFolderMode.Automatic
- C. %LocalAppData%\UiPath\PIP Browser Profiles
- D. BrowserUserDataFolderMode.DefaultFolder
Correct answer: B
Explanation
The correct option, BrowserUserDataFolderMode.Automatic, allows the browser to manage user data folders automatically, which is necessary for separating PiP and Main sessions. Other options, such as CustomFolder and DefaultFolder, do not facilitate this separation effectively, and the path provided in option C is a specific location rather than a mode setting.