Code snippet
Please select any element to get XPath/CSS
+Please select any element to get XPath
more new patterns coming soon :)
Please select any element to get CSS
+more new patterns coming soon :)
+Please use the context menu (Right click on page) to select parent & child element
You can switch between XPath, CSS & Axes any time :)
diff --git a/panel/panel.js b/panel/panel.js index ce0c5fa..5709ffd 100644 --- a/panel/panel.js +++ b/panel/panel.js @@ -26,7 +26,7 @@ chrome.runtime.onMessage.addListener((req, rec, res) => { buildCSSUI(req) } else { jQuery("#cssbody").empty(); - let ui = `Please select any element to get CSS/XPath
more new patterns coming soon :)
Did you know LetXPath is an open-source, if you found something wrong fix it :)
@@ -35,7 +35,7 @@ chrome.runtime.onMessage.addListener((req, rec, res) => { } if (req.xpathid.length == 0) { jQuery("#addXPath").empty(); - let ui = `Please select any element to get XPath/CSS
more new patterns coming soon :)
Did you know LetXPath is an open-source, if you found something wrong fix it :)
@@ -48,7 +48,7 @@ chrome.runtime.onMessage.addListener((req, rec, res) => { jQuery("#addXPath").empty(); document.getElementById("cssbadge").attributes.getNamedItem('data-badge').value = 0; jQuery("#cssbody").empty(); - let ui = `Please select any element to get XPath/CSS
more new patterns coming soon :)
Did you know LetXPath is an open-source, if you found something wrong fix it :)
@@ -181,11 +181,11 @@ function targetElement(element) { function buildUI(data) { jQuery("#addXPath").empty(); if (data.webtabledetails != null) { - let table = `${data.webtabledetails.tableLocator}
${data.webtabledetails.tableData}
${data.xpathid[i][2]}
${data.cssPath[i][2]}
diff --git a/popup/popup.html b/popup/popup.html
index dc34dd2..3bfbb8a 100644
--- a/popup/popup.html
+++ b/popup/popup.html
@@ -70,7 +70,7 @@
Copyright © 2022 Koushik Chatterjee +
Copyright © 2023 Koushik Chatterjee