Function to initialize selenium driver

Updated POC for different settings