# How to set up run on failure

**URL:** <https://forum.robotframework.org/t/how-to-set-up-run-on-failure/5734>\
**Category:** SeleniumLibrary\
**Created:** [23 May 2023 15:22 UTC](https://forum.robotframework.org/t/how-to-set-up-run-on-failure/5734 "2023-05-23T15:22:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![saku](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@saku](https://forum.robotframework.org/u/saku)\
**Post date:** [23 May 2023 15:22 UTC](https://forum.robotframework.org/t/how-to-set-up-run-on-failure/5734/1 "2023-05-23T15:22:01Z")

</div>

![IMG_4644](https://europe1.discourse-cdn.com/flex005/uploads/robotframework1/original/2X/1/13aa51f761168a950141b0ad9bf9261e457ae637.png)

How can i set up parameter of capture page screen when test result run fail?

---

<div class="post-metadata">

**Author:** ![EdManlove](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/edmanlove/32/1002_2.png) [@EdManlove](https://forum.robotframework.org/u/EdManlove)\
**Post date:** [23 May 2023 16:33 UTC](https://forum.robotframework.org/t/how-to-set-up-run-on-failure/5734/2 "2023-05-23T16:33:01Z")

</div>

Looking at the code we don’t allow for setting parameters to the run\_on\_failure keyword. If you think this is something that should be there go ahead and [open a new ticket](https://github.com/robotframework/SeleniumLibrary/issues/new/choose) with the GitHub repository.
