how find or copy xpath of an element

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

harry2005
Newbie
Newbie
Posts: 6
Joined: 2024-08-20, 04:22

how find or copy xpath of an element

Post by harry2005 » 2024-09-19, 05:35

sir while inspecting an element in Basilisk Copy XPath option is missing or not available. i am also try to search for addon to capture xpath but no addon found on Basilisk website. please give any solution thanks

User avatar
Basilisk-Dev
Astronaut
Astronaut
Posts: 597
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: how find or copy xpath of an element

Post by Basilisk-Dev » 2024-09-19, 16:42

Basilisk/Pale Moon do not currently support this feature.

We will need to port over this Mozilla issue to add this feature: https://bugzilla.mozilla.org/show_bug.cgi?id=987877
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
Moonchild
Project founder
Project founder
Posts: 39123
Joined: 2011-08-28, 17:27
Location: Sweden

Re: how find or copy xpath of an element

Post by Moonchild » 2024-09-19, 16:58

Why do you need this, anyway? I thought this was only useful for people who want to automate the browser (e.g. WebDriver) which we categorically don't support in UXP.
"There is no point in arguing with an idiot, because then you're both idiots." - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Basilisk-Dev
Astronaut
Astronaut
Posts: 597
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: how find or copy xpath of an element

Post by Basilisk-Dev » 2024-09-19, 18:19

Moonchild wrote:
2024-09-19, 16:58
Why do you need this, anyway? I thought this was only useful for people who want to automate the browser (e.g. WebDriver) which we categorically don't support in UXP.
On the Bugzilla link someone commented saying that an internal company tool of theirs uses XPaths and that the tool was unrelated to WebDriver, so I guess that there are use cases other than WebDriver.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

harry2005
Newbie
Newbie
Posts: 6
Joined: 2024-08-20, 04:22

Re: how find or copy xpath of an element

Post by harry2005 » 2024-09-20, 04:26

sir thank for reply i got solution for this by using firebug and firepath.