These are the following way by which selenium can find the object:- ID Name CSS Selector Xpath – (Attributes, Relative, Absolute or Position)
1. Is Element Present (String locator) 2. Is Element Present takes a locator as the argument and if found returns a boolean value of True.