Find XPath using JavaScript | XPath in Selenium | LetCode

Опубликовано: 01 Январь 1970
на канале: LetCode with Koushik
10,588
130

#letcode #selenium #testing
Did you know how to find the XPath using JavaScript?
In this video, I have explained how to find the XPath using JS, like we used to find ID as document.getElementById("id").
Similarly, we are going to find the XPath using JS.

var xpathResult = document.evaluate(
xpathExpression,
contextNode,
namespaceResolver,
resultType,
result
);
XPath in selenium!

Reference
https://developer.mozilla.org/en-US/d...

Behind the screen,
  / ortoni  

Join our Facebook group,
  / letcode  

Protractor from scratch with JavaScript & TypeScript
   • Protractor tutorial - LetCode  

JavaScript tutorial from basic to advance level for test automation
   • JavaScript for Test Automation  

TypeScriptJava tutorial from basic to advance level for test automation
   • TypeScript for Test Automation  

Chrome extension development tutorial - XPath Tool
   • Chrome Extension Development - Build ...  

Selenium - Java, not the basic stuff (weird)
   • Selenium Advance Topic  

Fun time videos, enjoy coding :)
   • Fun time  

Thanks for watching :)
Intro & Outro
music credit
song: To my soul
  / majesticcasual  

Channel search
letcode "letcode koushik" LetCode "letcode automation" "letcode javascript" "letcode chrome extension" "letcode protractor" "letcode testing" "letcode selenium" selenium protractor javascript "chrome extension" java "letcode java"