I'm using some script which basically get text from safari, click button and fill up textfield.
This work perfectly but I have a change in my workflow and I need to use different safari window.
I remember seeing that a while back (when the tab happen to have the same name but I never manage to run a script which refer to the window id
Otherwise I suppose I can use another web browser (e.g one safari the second safari technology preview) as a workaround but that not really ideal and limit to two windows
any idea how can I found the window ID and refer to it in AppleScript/JS ?