[Bug Report] Read function doesn't seems to work if the tab is not active

I was recently working on the Linkedin script where you can scrap basic information of a user by their LinkedIn username and save it into a text file.
Check that script at https://play.workerb.io/s/14lgQj

So, When I ran this script, after entering the username I switch to another tab for some other work. I thought by that time script gets executed successfully but workerB throws an error about elements were not able to selected successfully, probably read tries to select elements in the context of currently active tab.

Please help me out.

Read should not require the tab to be active. We will make changes to the read function.