Bug 865547 some tests would end without waiting for their windows/tabs to close
Merge pull request #971 from erikvold/865547

Fix Bug 865547 some tests would end without waiting for their windows/tabs to close r=@Mossop
A simple implementation of a helper function to get a tab object based on an ID.