I created a python file to automatically press a button on a specific webpage by a message.
The sequence is as follows.
raspberry pi 4b
- sudo pip3 install selenium, sudo pip install selenium
- sudo apt-get install chromium-chromedriver
- The contents of the python file are as follows.
from selenium import webdriver
This is by pressing the dark mode button on www.naver.com.
Actually when I run python naver.py in raspberry pi cmd it works very well.
However, it cannot be executed in nodered exec.
Can I know why?
For reference, it seems that other python files are not only related to selenium.
The red box in the image is the button that is automatically pressed.