Extract driver creation to separate static method for reuse outside test class