Endoscopy can be used along with other tests to confirm a diagnosis of cirrhosis and help a doctor decide what treatments might be best. An endoscopy is done by inserting a thin, lighted tube with a ...