How to Locate & Find Elements

Locating Elements:

Some Objects on web page:

  • checkbox
  • radio button
  • link
  • dropdown
  • text field
  • text area
  • button

Examples of Elements on Html page:

  • Input
  • button
  • form
  • span
  • ol
  • ul
  • a

Attributes for elements :

  • name
  • id
  • href
  • title
  • value
  • class

Locating elements by ID


Here i want to type so the command will be…

Type  id=search

Finding elements by name:

I want to click on search button…below is the command


The code for identify search box with NAME:

Type name=q

Finding elements by link text:



0 Responses on How to Locate & Find Elements"

Leave a Message

Your email address will not be published. Required fields are marked *

Copy Rights Reserved © Mindmajix.com All rights reserved. Disclaimer.