Locator in selenium IDE:
Google
Google
- identifier
- id
- name
- link
- xpath
- css
- dom
Locators | Expression |
---|---|
identifier | identifier=txt identifier=edit |
id | id=txt |
name | name=edit |
link | link=Google |
xpath | xpath=//*[@id = 'txt'] xpath=//input[@id = 'txt'] xpath=//input[@name='edit'] xpath=//div/input[@id='txt'] |
css | css=#txt css=.textclass css=*[id='txt'] css=input[id='txt'] css=input[name='edit'] css=div > input[id='txt'] |
dom | dom=document.getElementById('txt') dom=document.getElementsByName('edit')[0] dom=document.getElementsByClassName('textclass')[0] dom=document.getElementsByTagName('input')[0] |
Thank you for sharing wonderful information with us to get some idea about that content.
ReplyDeleteSelenium Online Training India
Selenium Online Training