GroupElementFromWord
GroupElementFromWord[group, w] returns the element of group determined by the word w in the generators of group.
Examples
GroupElementFromWord[SymmetricGroup[4], {1, 2, 1}]GroupElementFromWord[DihedralGroup[6], {1, -1, 2}]Please visit the official Wolfram Language Reference for more details.