How To Use Inheritance In Selenium Automation