title: Access Appium driver globally
body: <p>I am new to Appium automation and trying to setup an automation framework using page object factory for my project. I have declared a class to deal with the starting of the appium server and initializing the Android webdriver, lets assume it to be class A. I have another class, class B where there are actual tests. Could you please guide on how to access the initialized appium driver in class A from class B. Please find below for details.</p>
  
  <pre><code>Class A{
  AndroidDriver driver=new AndroidDriver();
  }
  </code></pre>
  
  <p>I am trying to use the driver object in class B something like this.</p>
  
  <pre><code>Class B{
  driver.get("http://www.google.com");
  }
  </code></pre>
  
  <p>Is this feasible?</p>
  
  <p>Thanks. </p>