# How to save browser errors using Robot Framework and Selenium Library

**URL:** <https://forum.robotframework.org/t/how-to-save-browser-errors-using-robot-framework-and-selenium-library/6918>\
**Category:** SeleniumLibrary\
**Created:** [29 February 2024 12:13 UTC](https://forum.robotframework.org/t/how-to-save-browser-errors-using-robot-framework-and-selenium-library/6918 "2024-02-29T12:13:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marmojezz](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/marmojezz/32/2972_2.png) [@marmojezz](https://forum.robotframework.org/u/marmojezz)\
**Post date:** [29 February 2024 12:13 UTC](https://forum.robotframework.org/t/how-to-save-browser-errors-using-robot-framework-and-selenium-library/6918/1 "2024-02-29T12:13:17Z")

</div>

Hi community,

**WHAT:**  
I need to save the browser console error messages (like the image below) to a file if a test case fails.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/7/7b04883de1625b5777c8a04eed4833a18d399358.png)

**WHY**  
During a performance testing running a robot script in parallel (selenium grid + docker + robot framework + pabot), we verified that part of script failed to load the page.  
No issue was identified in the Backend, so we need to know what is happening in the front-end

**HOW**  
This is the problem. I dont know how at this moment.  
Since the test is executed in the docker, we need to get a way to flush the browser trace to a file when a test fails.

Could someone provide ideas or suggestions on how to handle this situation?
