Category "xpath"

Scrapy returns ValueError SelectorList is not supported

I think the problem is when I try to enter each url spell with response.follow in the loop, but idk why, it passes the around 500 links perfectly to extract_xpa

Scraping SofaScore votes using Xpath and google sheets

I'm trying to scrape the votes from SofaScore with google sheets using the importxml function. I'm running into an issue because the class name has a random str

Unable to validate pom.xml of a mule application in SonarQube

I am using SonarQube to validate artifactId, modelVersion etc in pom.xml file for a mule application.To validate these nodes, I have build some rules in SonarQu

How to create XML using for loop

I want to create an XML inside the for loop using all the values fetched using for loop. when for loop runs I get a value for field "user" and field "IS Active

How can I use XPath contains() for a few values under 1 common class?

I need create a Xpath for an expression like - (trim(STRING_1)=upper(STRING_2)) but unfortunately this expression is located in some editor, the code is - <

Parsing arxml file with python

I have a file I need to parse, I need the information. The order of parsing is important. I can parse the file and get the information, but not in the sequence

xpath to extract the text in selenium

Need help in extracting the case id, would be great help <div class="note note-info"><h4 id="note-label-CreateCaseUploadDoc:Display_Process_Com

RobotFramework: Finding Xpath containing text

So my link at the below location contains the words 'Download certificate' xpath=//*[@id="training_list_table"]/tbody/tr/td[5]/span/a/text() I want to be mor

How to add tags?

First xml file "in.xml" to be updated: <root attr="root"> <xItem key="1" th="1"> <m1 /> <b attr3="j" attr4="x"> <m4 /

Telegram's instant view API: Element <img> is not supported in <p>

I have problem when trying to create my Telegram's Instant View template, with this error: Element <img> is not supported in <p>: <img src="mysr

Cypress xpath click a drop-down menu and click wi

enter image description hereI have the xpath module insatlled and I try to do the following operations: Click on an expandable option (type div); After that cli

Oracle XMLTABLE left outer join doesn't return results when XPath doesn't exist

The table tbl has a column xml_data of type XMLTYPE. Consider the following XML: <root> <element> <id>1</id> <data>abc&l

How to extract price from given url using Xpath?

From a given url I want to extract some detail from it like title, price. For the title, it works fine with this code: <?php $getURL = file_get_contents(

JSONPath to transform and map to different tiers of data with a single output

I am using JSONPath and this node module https://www.npmjs.com/package/jsonpath-object-transform to transform a JSON obj into a different output. This is simila

How to click on a descendant li element with Selenium?

I am automating with selenium and reached a point where I click a drop down and there are 3 options and they are in a ul list, and each option is an li role. I

How to use scrapy to scrape google play reviews of applications?

I wrote this spider to scrape reviews of apps from google play. I am partially successful in this. I am able to extract the name, date, and review only. My ques

What is the XPath to an attribute of an svg Element?

Lets say my website contains multiple svg elements and I want to find the following: <svg id="some-svg-id" /> How can I find this svg via its id? I aware

Select a node with XPath whose child node contains a specific inner text

Given the following XML: <root> <li><span>abcText1cba</span></li> <li><span>abcText2cba</span></li&g

How to get attribute value and element value from XML with xmllint

Have such a XML file. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <model-response-list xmlns="http://www.ca.com/spectrum/restful/schema/res

xpath to find pseudo-element ::after in side a div element with out any content

I am trying to write xpath to find a checkbox selected or not, this checkbox is being changed using css ::after element. Below are two elements I have //d