Hello,
I would like to take a screenshot of the entire screen when something fails during our UiAutomation, but form some reason the take screenshot activity forces me to use it inside an use application browser activity although according to the documentation it should be possible to do it without. Can anyone help me to figure out what I am doing wrong here?
I think it’s difficult because we cannot put Takescreenshot activity outside UseBrowser in Crossplat form project. Also there seems no desktop to handle by UiPath in crossplatform project.
I thought it through again and actually it should be okay to have the browser only. What we want to do is to create library which takes a screenshot in case a UI test case fails. I assume the most stable way would be to work with the BrowserSession as an input parameter in that case. Or would you recommend another way?