I want to create a session (chrome website) which playing a video.
After that i have another script that run regularly in the background to do somethings on an existing session (such as volume adjustment..)
For some reasons i cant re-open the website every time i want to adjust the volume so that i have to separate into 2 scripts.
My solution is to write the session id to a text file and read it every time i want to control this session.
Are there any better solutions to handle this problem?
Many thanks.