Skip to main content
Filter by
Sorted by
Tagged with
1 vote
3 answers
91 views

How can I handle multiple <img> elements in Selenium when all of them have the same id attribute? I need a way to automatically detect and interact with these images, even though they share the ...
rocksaketh's user avatar
Best practices
0 votes
1 replies
35 views

I have to make a design decision. I need to describe paths across hierarchical network graphs. In other words: There can always be a next parent, but we don't know. There can also be always a next ...
MaestroGlanz's user avatar
0 votes
4 answers
144 views

I have an XML file in the format: <items> <item> <id>abc123</id> <name>widget</name> <quantity>1.0</quantity> </item> <...
Joshua Davies's user avatar
0 votes
0 answers
45 views

I admit I am an XPath novice and I have Googled my face off on this topic so please be gentle. Is it possible to dynamically name identifiers without using XSLT, Java, or Python? Incoming data ...
waywardRobin's user avatar
0 votes
0 answers
44 views

I have the following XML response being returned in my Oracle OIC Integration engine: <ListFileResponse xmlns="http://xmlns.oracle.com/cloud/adapter/ftp/Listfiles_REQUEST/types"> <...
Nick's user avatar
  • 334
1 vote
4 answers
90 views

I am automating a confirmation request, and my code gets me all the way to the end, but when it comes to actually confirming my reservation, there is a popup modal window that appears as a layover on ...
Jose Torres's user avatar
1 vote
2 answers
95 views

My problem is pretty straight forward, but yet I didn‘t come up with a solution for it - probably because my knowledge about regular expressions is very basic. I am trying to match only the entries of ...
Steinic30's user avatar
-1 votes
2 answers
96 views

I've tried several ways, but I just cannot seem to get Selenium to resolve to this HTML element on a page: <button class="btn__primary--large from__button--floating" data-litms-control-...
Robert Clouse's user avatar
2 votes
2 answers
57 views

I have the following XML document, and I've been using XPath to navigate this and other documents without issues. But one of the elements has an attribute with a namespace that I can't seem to ...
user3785768's user avatar
1 vote
1 answer
61 views

Xpath doesn't work for text() for paragraph() content but works fine for div. Example: <div> <p> 123 123 some_text </p> <div> Xpath: //*[contains(text(), 'some_text')] Result:...
Irina's user avatar
  • 1,417
1 vote
3 answers
189 views

I want to find the path to a given XML element (node). I have tried xmllint and xml_grep; both return the element(s) I'm searching for, but as far as I can tell, neither returns the path to that ...
Mike Maxwell's user avatar
3 votes
1 answer
59 views

I need to extract data from a XML column in SQL Server 2016, for this example I'll create a XML variable, but in the real scenario the XML in inside a table so it is not editable. This is a sample of ...
FDB's user avatar
  • 1,112
2 votes
3 answers
91 views

Robot framework- xpath - how to use translate() function Consider tc1.robot file as below: ... *** Test Cases *** LoginTest ... sleep 5 click element xpath://input[matches(@...
Narendra Bhagwat's user avatar
2 votes
0 answers
64 views

I need to extract small parts from xml files in Java. I would like to use xpath for it. The incoming xmls use namespaces but the prefixes for them are unstable. I mean sometimes I get "<s:...
riskop's user avatar
  • 1,839
0 votes
2 answers
76 views

I have noticed this xpath misleading behavior problem, for this expression: elemA[ not(elemB) ] it has two meanings: 1. yes show all elemA filtered all childs elemB. eg: select all elements but ...
mr.tee's user avatar
  • 43
0 votes
0 answers
50 views

I have an issue in XPath 1.0 where my data is broken up across multiple rows for a single S/N. I need this data pivoted into multiple columns. My sample XML <?xml version="1.0" encoding=&...
Trevor Adam's user avatar
0 votes
1 answer
123 views

I am pulling data from another site with XPath, but when I pull the "Server uptime" part on the site, it only gives the value "00" when I run it. $url = "http://ts3....
Koray Genç's user avatar
-1 votes
1 answer
86 views

I'm trying to extract data from an xml file. I'm extracting the nodes separately with the following code: entity_uin <- xml_text(xml_find_all(xml, ".//Entity/EntityUin")) entity_name <-...
NickD's user avatar
  • 72
1 vote
1 answer
54 views

Using the latest Saxon parser. This is a snip of a larger XML file. <osm> <node id="38275590"> <tag k="name" v="Wimbledon"/> </node&...
DaveF's user avatar
  • 285
1 vote
0 answers
50 views

The HTML class attribute is a whitespace-separated list. E.g., <div class="aaa bbb ccc"> ... </div> Is there a simple XPath expression that selects all div-s with class aaa (...
Dr. Gut's user avatar
  • 3,335
1 vote
1 answer
66 views

Using Saxon parser freebie. This is a snip of a larger XML file. <osmChange> <modify> <node id="28377390"> <tag k="name" v="Holywell"/>...
DaveF's user avatar
  • 285
1 vote
4 answers
76 views

I would like to read all the details about the ads on page https://www.nepremicnine.net/oglasi-prodaja/gorenjska/kranj/kranj/stanovanje/letnik-od-1980-do-1989/ When reading the element "//div[@...
Rok Golob's user avatar
0 votes
2 answers
56 views

Objective Isolate Wikidata query output Command curl https://query.wikidata.org/#SELECT%20DISTINCT%20%3Fitem%20%3FitemLabel%20WHERE%20%7B%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%...
Signor Pizza's user avatar
0 votes
0 answers
59 views

today i was looking to the ADMX files of Anydesk. I was trying to upload them to Intune to be able to configure some policies, but there is a size upload limit and I'm exceeding it. I was looking to ...
matteo.durini's user avatar
3 votes
1 answer
60 views

Using Saxon HE 12.7, where I have problems getting accurate location information of an XPath syntax error. Here is an SCCS that illustrates the problem: import java.io.*; import net.sf.saxon.*; ...
ewh.eps's user avatar
  • 105
-1 votes
2 answers
68 views

How can I do it in the Playwright test that the test is going through when it finds several data elements with the same name. In the code, there are 3 elements with the same "data-cy" names, ...
Saintz's user avatar
  • 75
0 votes
0 answers
61 views

I have the following test with MockMvc: mockMvc.perform(get("/") .andExpect(xpath("//div[...]").string("...")); How can I use xpath with the new MockMvcTester ...
Vitali Plagov's user avatar
0 votes
1 answer
57 views

keyword_input = wait_for_element( driver, By.XPATH, '/html/body/div[12]/div[2]/div/div/div/main/form/div[14]/div/div[2]/input', description="Keyword input field" ) if ...
Aditya Dand's user avatar
2 votes
1 answer
37 views

I am working on an application that extensively uses XPath expressions. The current XPath processor only supports XPath 1.0 syntax. I want to upgrade the application to support XPath 2.0 syntax. Is ...
srk's user avatar
  • 1,971
1 vote
2 answers
80 views

I am currently using the xml.etree Python library to parse HTML. After finding a target DOM element, I am attempting to extract its text. Unfortunately, it seems that the .text attribute is severely ...
AlanSTACK's user avatar
  • 6,165
0 votes
5 answers
106 views

Title: Selenium NoSuchElementError in headless Firefox on handelsregister.de after clicking "Normale Suche" Body: I'm using Selenium (Firefox in headless mode) to automate a document search ...
Vaibhavi K's user avatar
0 votes
1 answer
77 views

I am encountering a persistent validation error while trying to customize the res.users form view in my custom module for Odoo 17 and 18. The error message is: Validation Error Error while parsing or ...
Red Science's user avatar
1 vote
1 answer
72 views

My application reads the text files(headers_columns may vary) and produces the content of the file in string format each record is separated by newline character(\n). I want to generate the XMLs with ...
Learner's user avatar
  • 57
1 vote
1 answer
107 views

In Odoo18, I created template for a portal user which inherit another template, In my custom template, I want a date fields 'birthday' to be auto filled <t t-set="last_app" t-value="...
khelili miliana's user avatar
0 votes
2 answers
111 views

I am using Python Selenium for automating website testing and often encounter a problem with locating elements using XPath. Every time there’s a new deployment, some of my test scripts fail because ...
Kumkum Sharma's user avatar
0 votes
1 answer
317 views

I need to select any child element of SVG component, it can be rect, text, defs etc. I am trying it with playwright. I tried this const elementsCount = await page.locator("//*[local-name()='svg']&...
Dragan Stanisavljevic's user avatar
1 vote
1 answer
74 views

I'm trying to scrape movie details (name, genre, etc.) from Paytm Movies Coimbatore using PHP's DOMDocument and XPath. While my code fetches the HTML successfully, it fails to extract text content ...
Arun sankar's user avatar
0 votes
1 answer
32 views

I have the following XML element: <Content> <Controller Use="Context" Name="Base_Project_Maximum_Connections"> <DataTypes Use="Context"> <...
ROBERT RICHARDSON's user avatar
2 votes
4 answers
115 views

I have an XML file that looks like this: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE rrd SYSTEM "https://oss.oetiker.ch/rrdtool/rrdtool.dtd"> <!-- ...
flyingfishfinger's user avatar
0 votes
1 answer
40 views

I am trying to find the duplicate country in the following xml <Forms> <Form_1> <Country>AFG</Country> <Country>AFG</Country> <...
Pawan Nogariya's user avatar
-3 votes
1 answer
126 views

This website has a menu item placed horizontally. I am trying to locate the element "Makeup" from the menu item using below XPath: .categorymenu li:nth-child(1) But no success. Please, can ...
Arup Biswas's user avatar
0 votes
0 answers
42 views

Hi I am having an xpath expression "infoList//groupId" which i am trying to apply on a java bean object using jaxen api . however it is returning empty results. The following is my class ...
Starbucks Admin's user avatar
0 votes
1 answer
59 views

I want to validate XPath expressions against a XML schema or a representation of a XML document. The intention is to not waste time going through all nodes and trying to find an element when the path ...
Kishan _ 1735's user avatar
0 votes
1 answer
39 views

I am using Saxon 9 in Java to compile XPath expressions like this: net.sf.saxon.xpath.XPathEvaluator.compile(expression) I am aware of the changes between XPath 1 and XPath 2, so I am not surprised ...
martin's user avatar
  • 37
0 votes
1 answer
92 views

I have the following code which is supposed to insert content controls for category and title of the document. Sub insert_Header() ' Declare the CCs that we use later on Dim titleCC As contentControl ...
MDK's user avatar
  • 27
-1 votes
1 answer
37 views

Following is the code to access element using Xpath on the Website (https://web.sensibull.com/option-chain?tradingsymbol=NIFTY&expiry=2025-03-20 ) Using XPATH, I can reach the DIV which inherits ...
pratik jamale's user avatar
0 votes
1 answer
64 views

want to build an automation that will extract the shipping address of a customer from the element that on the attached picture. How to extract the value of the city to make the automation. I tried to ...
Pro4automations's user avatar
1 vote
1 answer
103 views

I am trying to use the explicit locator strategy in the Selenium Robot library to find an element: Click Element xpath://*[@id="sidebar-nav"] I can locate the element using this xpath on ...
Jat's user avatar
  • 13
0 votes
4 answers
170 views

XML: https://raw.githubusercontent.com/dp247/Freeview-EPG/master/epg.xml Example <tv> <programme channel="VirginRadio.uk" start="20250319220000 +0000" stop="...
Richard Barraclough's user avatar
0 votes
2 answers
53 views

My Ecommerce webpage has some products. To add a specific product to cart, I am first fetching the list of products, then iterating this list, and then fetching the product-name text, so that I find ...
Ricky Babosa's user avatar

1
2 3 4 5
792