# Change desired capabilities during runtime

**URL:** <https://forum.katalon.com/t/change-desired-capabilities-during-runtime/14420>\
**Category:** Miscellaneous\
**Created:** [November 26, 2018, 1:09am UTC](https://forum.katalon.com/t/change-desired-capabilities-during-runtime/14420 "2018-11-26T01:09:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bella](https://avatars.discourse-cdn.com/v4/letter/b/ce73a5/32.png) [@Bella](https://forum.katalon.com/u/Bella)\
**Post date:** [November 26, 2018, 1:09am UTC](https://forum.katalon.com/t/change-desired-capabilities-during-runtime/14420/1 "2018-11-26T01:09:37Z")

</div>

I have the current desired capabilities in my execution settings.

–use-fake-ui-for-media-stream

–use-file-for-fake-video-capture=sample.y4m

–use-fake-device-for-media-stream  
I want to be able to change the specified file (sample.y4m) during runtime.  
Is there a way to do this?

I tried this so far RunConfiguration.setWebDriverPreferencesProperty(“args”, “–use-fake-device-for-media-stream”).

Thanks!

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:02am UTC](https://forum.katalon.com/t/change-desired-capabilities-during-runtime/14420/2 "2022-08-08T07:02:31Z")

</div>

Archived on August 8, 2022, 7:02am UTC


