This phase II trial is studying how well selumetinib works in treating patients with biliary cancer that cannot be removed by surgery. Selumetinib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth.