backup
fixed bugs of closeInactiveWindows, changed to always return DriverAdapter