How to use already opened browser for script execution

Hope these help!