title: TestNG, Selenium How to share object among multiple Classes
body: <p>I am executing my test cases using Selenium + TestNG. My test cases are spread across multiple classes. I want to use same copy of webDriver with every class. (I dont want to login every time and then do other operations so option of invoking separate browser each class is gone). 
  To solve this problem, right now I am using inheritance with static webdriver object. But While using selenium grid with parallel mode, it does not work as it uses same object. Can you please show me a way in which, I can share the object with multiple class OR To create a different instance of static on each "test" (its like, I am running separate Java program for each test). </p>