Added handling of DEV mode for web driver