Is it possible to use XPath 2.0 functions like starts-with(), ends-with() and contains() in Python? I was trying to use lxml and defusedxml, but unfortunately t
I have the following xml file : <?xml version="1.0" encoding="UTF-8"?> <ns:t xmlns:ns="http://www.myaddress.com"> <ns:cs> <ns:c
I have this number of list from the following dom, There are total 10 elements. I want to store the first 5 elements from the list in a variable. How can i do i
/!\ The problem here is a f-string problem; I know how to click the "onclick" element in another ways, but I want to understand why it doesnt work THAT way /!\
Working on a random question picker from a codechef webpage but the problem is even when i am using random value of i, it always clicks the first question. Code
I was using selenium with VBA and there is the current webpage. I was trying to get the bot to select the "exportbutton" ID, but I have already tried Findelemen
I used the IMPORTXML formula to import values from a website. The formula imports a list of 4 cells in a column. The value of the 3rd cell is a number with a do
I'm new to Python and am trying to automate a form fill up. I have done all the work but when trying to "Submit" it's not reading the XPATH and hence not clicki
Given the structure below. How would you go about selecting only those elements where the number of elements of same group is less than - let's say six. In this
I am using MockServer since a short time and trying to create an expectation on the Request-Body. My Body is an XML and I am using XPath to match the Request, b
I would like to find title bar icon with rel = 'icon' or 'shortcut icon'. So I'm trying to do something like this: response.xpath("head/link[@rel='icon' or 'sho
I am trying to extract the Stock Price History Section from Yahoo Finance Statistics page. The following Xpath seems to point to the right section, but the func
I am having some troubles to locate an element with Selenium. The page html where I'm looking for it is: enter image description here Specifically, I want to ge
XML be something like this: <Section SectionLevel="1" SectionID="Food"> <Section SectionLevel="2" SectionID="Fruit"> <Content>Appl
I am trying to get child element (Card Number) from an html codes where html tags and class names are same. Below is the html code snippet <li class="payment
I am now convinced that there is no solution to this. But in case there is someone out there who can help: Whole Element that I want to click on genesys cloud i
I am now convinced that there is no solution to this. But in case there is someone out there who can help: Whole Element that I want to click on genesys cloud i
On Selenium Webdriver, how I can retrieve entire text from div with Mark Tag? I need to verify that the word 'correctly' is present. Example HTML code: <div
I am trying to extract all the texts in span into list, using the following HTML code from Selenium webdriver method: ['1a', '1b', '1c', '2a', ' ', ' ', '3a', '
I'm scraping a page, using Scrapy. I want the HTML contents of the TD with "text" class: <tr valign="top"> <td class="text" width="100%"> <