fixed issue with session is null for independent tests mode (driver_mode=method_mode)