Category "xpath"

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

Unmarshalling an XML using Xpath expression and jaxb

I am new to JAXB and would like to know if there is a way by which I can unmarshall an XML to my response object but using xpath expressions. The issue is that

What XPath to select only non-taged text inside div. Selenium. Java

I want to select only the text "only this text" from the snipet below using XPath (in Java) but that text is random and I don't know what is written there. &l

What is use of '%s' in xpath

I have tried to know the reason in online but i didnt get it. I want to know the reason why '%s' used in xpath instead of giving text message I hope some one

XPath, how to select a "checkbox" that is a child to an element with a custom content

I have a task that requires using some XPath, the site is http://todolistme.net/ So, I need to select a checkbox: //input[contains(@type, 'checkbox')] But befor

XPath: counting elements excluding another elements from count

I need to count all the elements that includes text 'Automation' but excluding the span[@class = "hot"] elements from the count. The site with a html code is :

XPath Query for Scheduled Task

I am trying to create a Windows Scheduled Task to notify my everytime some other scheduled task in a special folder failed. To do this I have setup a scheduled

ChromeDriver Does not find the element on the page with selenium JAVA

I am trying to find an element on the page, I want to sorter the result list but my result show me that is not attached on the page: Exception in thread "main"

python selenium how to copy text?

How to copy text with selenium xpath? When I writing driver.find_elements_by_xpath("//div[@class='rankingItem-value js-countable']").text I get next error

Xpath for button having text as 'New'

In our application almost in every screen we have a button with text 'New', Here is the html source for one of the button: <button id="defaultOverviewTable: