Difference between dot and text() function in Xpath in Selenium | Locate WebElement using dot (.)

Published: 04 May 2021
on channel: AJ AUTOMATION
1,199
23

Difference between dot and text() function in Xpath in Selenium | Locate WebElement using dot (.) in Selenium WebDriver.

⚡️ In this session , we will see how to locate a WebElement if text() function is not working.
⚡️ When there is no direct relation between node tag and inner text then text() can not locate it. So try to use ( . ) dot and contains function.

======================================
***************AJ AUTOMATION*************
======================================

🔔 Learn automation from basic !! 🔔

✅ Recent Uploads :=
   • Recent Uploaded Videos  

✅ Selenium series videos Playlist :=
   • Selenium tutorial for beginners - Mos...  

✅ Maven Tool videos playlist :=
   • Maven Tool - Learn Basics To Advanced...  

✅ Java Language Concepts :=
   • Java Language Concepts - By AjAutomation  

✅TestNG Framework Videos:=
   • TestNG Introduction and Why we use Te...  

✅ Become Master in Xpath:=
   • Xpath Introduction  

✅ Protractor series videos playlist :=
   • Let's Learn Protractor - By AjAutomation  


======================================
*************** Thanks for watching !!*************
======================================


⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️

#LearnSeleniumInEasyWay #SeleniumWebDriver