Test Automation

How to pass selenium webdriver object to another class

In Selenium test script it is required to use or perform an action on current driver instance of browser(Chrome, IE, firefox etc). it is therefore required to use the same driver object if the driver usage requirement in another class. How to pass it or how to get that same …