Category "xpath"

How to select only top level tags?

I`ve a xml file: <response> <ERROR_CODE>0</ERROR_CODE> <result> <value> <Account>L01+00000F00</Account>

How to extract the text iterating specific rows within a table using XPath with Selenium and Java

I want to iterate through this table and need to get a text from each row like text inside td= health1, health 2 and health 3, similarly, I need text inside the

Camel POJO to PAYLOAD

I'm handling a web service with camel xml ?dataFormat=POJO on the from But a front end dev is shoving some data in a field now, and I need to check if it's popu

Unable to find the xpath of star using selenium & java

Thank you in advance ! url - https://www.tripadvisor.in/UserReviewEdit-g641714-d1156207-Club_Mahindra_Madikeri_Coorg-Madikeri_Kodagu_Coorg_Karnataka.html i ne

"Unable to find element error" even if this exists

is there a way to click this "like" button? Because I can't do it via xpath or full xpath, not even using "webdriverwait". I always get the error Message: no su

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 /