Selection Modes

Selection Method

Id

Document. Get Element by Id (“Contents”)

Tag

Document. Get Element by Tag Name (“p”)

Name

Document. Get Element by Name (Name)

Class

Document. Get Element by Class Name (Class Name)