07 - What is Xpath | Different ways to write Xpath in Selenium |

preview_player
Показать описание
Here you will learn
1. What is Xpath in selenium?
2. Different types of Xpath in selenium?
3. What is Absolute Xpath and what is Relative Xpath?
4. 6 different ways of writing Xpath. (Basic Xpath, contains(), starts-with,(), OR & AND, Text(), Index )

Absolute Xpath/ Full Xpath
/html/body/div/div[1]/header/div[3]/div/div/div[2]/form/input[4]

Relative Xpath/ Partial Xpath

Contains()

OR & AND

starts-with()
//a[starts-with(text(),"Popula")]

Text()
//a[(text()="Popular")]

Index

Additional Info

and press the bell icon to get updates on latest tutorial.
Рекомендации по теме
Комментарии
Автор

Always provides useful content... Thanks a lot

RajKumar-ijrr