getAndSelectCapability