How get the opened browser 's web driver session?

Please could you try to add more information. What you have asked is very vague.