Category "xpath"

How to access the <li> items using Selenium webdriver

I want to access <li> items in a webpage. From the given HTML, how can I access the list items such as User, Make & Model?? I am not able to retriev

Appium - Xpath to get direct children not working on Android

For some reason, I am not able to get all direct children of an element on Android. Apparently, the XPath does not work correctly when searching subelements in

C# extracting a single variable from html document from a website

This is what it looks like. I've tried something like this: var url = "https://www.tek-zence.no/"; var httpsClient = new HttpClient(); var html = await httpsCl

How to select the first element with a specific element using XPath

I need to do something similar to this: How to select the first element with a specific attribute using XPath Instead of evaluating the attribute content, I nee

AEM JCR SQL2 query to find all pages contains specific component

I wish to build a sql2 jcr query to find all pages under /content that contains this component, e.g /apps/platform/aem-core/components/content/form/form I read

Python/With selenium, trying to express a xpath for a color so all buttons matching the color can be clicked

I'm currently working with Selenium and Python to create a script that helps with booking free spots on a website for internships so you don't have to check it

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