Questions tagged [firepath]

FirePath is a Firebug extension that adds a development tool to edit, inspect and generate XPath 1.0 expressions and CSS 3 selectors.

With FirePath you can:

Edit XPath expressions and CSS3 selectors with auto completion for XPath (using TAB or up and down arrows). Evaluate the expression on HTML or any XML documents. Display the result of evaluations in a Firebug-like DOM tree. Highlight the results directly on the document displayed by Firefox (works only with HTML documents). Generate an XPath expression or a CSS selector for an element by right clicking on it and selecting "Inspect in FirePath" in the context menu. Define the evaluation context of an XPath expression or CSS3 selector. Choose the document in which to evaluate the XPath expression or CSS3 selector (only applicable for HTML documents with frames or iframes).

35 questions
0
votes
1 answer

Is there any way to get a Firefox version with FireBug and FirePath

I know that the support for FireBug ended years ago and that it has been moved into the Developer tools. Though, is there any possible way out there to get work again? Sadly i don't have a machine any longer with Firefox and these two addons…
fabian09
  • 111
  • 2
  • 11
0
votes
0 answers

Why firepath is not able to see deep xpath?

everybody! I am using Firefox browser and Chrome one. I installed FireBug and FirePath to Firefox. I can see html tree in Chrome deeper than in Firefox. I am looking for span values: FirePath hellps me to looking for values, cuz it flashs the…
The Vee
  • 51
  • 7
0
votes
0 answers

Unable to locate element on web driver script

I need to find an XPath for the below screenshot. Please help to write an XPath for the highlighted box. I have tried //span[contains(text(),'What's Up')] and also //span[@class='fontSize16' and contains(text(),'What's Up')] P.S.: When I'm…
snig
  • 63
  • 1
  • 8
0
votes
1 answer

Unable to install Firebug and FirePath despite looking for suggestions

I believe the default Selenium web browser is Firefox. My professor asked me to operate Selenium with Firefox version 43.0.1. Above it doesn't work, tested! However the issue is, I installed the latest version of Firebug and FirePath to get the…
java_jazz
  • 127
  • 1
  • 2
  • 9
0
votes
1 answer

How to identify img file which is loaded under network monitor console using selenium

When we navigate to a page and inspect the page, under Network monitor tab > images, we get a list of file names (Ex. imgge.png) as the page is loaded. How do i idientify the image is present when we navigate to a page using selenium script. I have…
0
votes
2 answers

Selenium Webdriver : I am not able to switch to iframe

Here is the code that I have written.I have tried adding thread.sleep() but it still doesn't work also tried with chromedriver but same result package com.thinksys.frames; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import…
user8301857
0
votes
1 answer

How does firepath finds unique xpath on click

I am very curious to know how does firepath finds a unique xpath locator with in seconds as soon as we click on element. I know how to query xpath using firepath, but what I want to know that which language or technology has been used to developed…
Karim Narsindani
  • 434
  • 3
  • 14
  • 38
0
votes
1 answer

Auto Extracting XPATH of all html elements using JAVA

Wanted to write a Java program to extract all the Xpaths of a given HTML page. For POC, using Gmail login page as an example. In the example. i click on the google logo and it gives me an Xpath to it. I should be able to extract all the xpaths of…
Nikhil Sharma
  • 19
  • 1
  • 4
0
votes
1 answer

WebDriver:Relative Xpath is not highlighting Select box when I click evaluate button in firepath

Html select tag contains Id. I have used id in relative path and testing in firepath by clicking evaluate button.firepath returns only one matching node but select box is not highlighted. It clearly says that select box wont be handle. I tried in…
Ashok
  • 115
  • 3
  • 8
0
votes
4 answers

Why doesn't Selenium find element by xpath?

When I run the following program, why is '0' printed to the console? I expected '1' to be printed since I expected the findElements() method to find a link using the xpath. Is the xpath expression incorrect? I got the expression using Firefox,…
danger mouse
  • 1,457
  • 1
  • 18
  • 31
0
votes
1 answer

Is there a way to find the Frame name from Firebug without using console?

I have been trying to find if there is any way to find out the iframe name from Firebug, without having to use its built-in console. I am aware that window.frames[x] will switch the window handle to "x"frame, but is there any way to just find out…
user6376
  • 3
  • 1
  • 4
0
votes
1 answer

How to identify an object in selenium where class name contains a space (like: 'uniqclass xyz') or multiple similar class names exist

Please see the HTML code below
Pankaj Dubey
  • 279
  • 2
  • 18
0
votes
1 answer

Xpath on HTML, finding conditional match

I have an HTML doc, and am trying to extract hrefs for certain table rows. Rendered, the table has several columns. Every name is a hyperlink, but I am trying to capture hyperlinks for names that have a blank value in a the fourth column. That is…
0
votes
2 answers

Firepath is giving absolute path but we need relative path

I am facing issue with xpath using firepath . If I select any web element using fire path it is giving xpath as html/body/div[1]/div/div[2]/div/form/fieldset/p/input but it is not selecting element properly previously it(xpath) is generating like…
user3415045
  • 491
  • 1
  • 6
  • 12
0
votes
2 answers

Firepath define xpath, but Selenium IDE -> "locator not found"

I have a button: Here is what I get and verify in Firepath, no any error in…
user3740305
  • 61
  • 1
  • 1
  • 4