# Launching Python Selenium script from Node Red

**URL:** <https://discourse.nodered.org/t/launching-python-selenium-script-from-node-red/72680>\
**Category:** General\
**Created:** [25 December 2022 11:22 UTC](https://discourse.nodered.org/t/launching-python-selenium-script-from-node-red/72680 "2022-12-25T11:22:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gacekk](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gacekk](https://discourse.nodered.org/u/gacekk)\
**Post date:** [25 December 2022 11:22 UTC](https://discourse.nodered.org/t/launching-python-selenium-script-from-node-red/72680/1 "2022-12-25T11:22:14Z")

</div>

I am running a Windows 10 PC as home server, and have Node red installed on that. I noticed that my IP cameras change video coding once they loose power. On the one hand I have developed a flow that checks the Frigate API when the codec changes and can make trigger in Node red. On the other hand I have coded an automation using Python Selenium, to log in to the camera and change the coded. Can I connect the trigger from Node Red to run the Python Selenium automation? Or should I rather move everything to Python code, make it run every hour, scrape API and trigger the front end automation?

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [25 December 2022 14:00 UTC](https://discourse.nodered.org/t/launching-python-selenium-script-from-node-red/72680/2 "2022-12-25T14:00:13Z")

</div>

> [@gacekk](#):
>
> Can I connect the trigger from Node Red to run the Python Selenium automation?

You should be able to do that. Try the exec node and let that run your python script

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [23 February 2023 14:00 UTC](https://discourse.nodered.org/t/launching-python-selenium-script-from-node-red/72680/3 "2023-02-23T14:00:39Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
