Goral HaGra

The Torah prohibits various types of sorcery. How does this impact the "goral haGra" in which one uses a Chumash to seek divine guidance?