How To Generate A Blazor Log?

How To Generate A Blazor Log for UiPath Apps?

Issue description:

How To Generate A Blazor Log for UiPath Apps?

To Generate Blazor Logs for UiPath Apps, follow the below steps:

  1. Open the browser and go to the Web page where the issue is occurring.
  2. Select More Tools > Developer Tools. Or you can right-click on the browser and click on Inspect.
  3. From the panel opened, select the Console tab.
  4. Click the Clear button (image.png) to clear out any existing logs from the Console tab
  5. Type allow pasting and hit Enter as shown in the below screenshot

6. Copy and paste the below command and hit Enter

localStorage.setItem('SHOW_BLAZOR_LOGS', true)

7. Refresh the page (F5) -> Console

8. Replicate the behavior/issue that you were experiencing before, while the requests are being recorded.

You should see some Blazor events recorded as below

9. Get the Network .har and the console logs once you have reproduced the issue from the Inspect tool.

Right-click on the Console and Network tabs and click Save As. Then save the file to the computer:

10. To stop/remove the Blazor logs, run the below command in the Console tab and hit Enter:

localStorage.removeItem("SHOW_BLAZOR_LOGS")

11. Upload the Console and Network log file to the opened support case in Customer Portal or attach it to the email so that UiPath Support team can analyze it.