Skip to content Skip to sidebar Skip to footer
Showing posts with the label Xpath

Normalize-space Just Works With Xpath Not Css Selector

i am extracting data using scrapy and python. the data sometimes include spaces. i was using normal… Read more Normalize-space Just Works With Xpath Not Css Selector

Unable To Select The Linkedin 'locations' Button Using Python Selenium

I'm trying to click on the Locations dropdown in LinkedIn. You'll reach this section of the… Read more Unable To Select The Linkedin 'locations' Button Using Python Selenium

Python Selenium Cant Find The Add Photo And Video Button Element On Facebook

Im trying to upload an image to facebook and im unable to click on the Add photo and video button. … Read more Python Selenium Cant Find The Add Photo And Video Button Element On Facebook

How To Click A Link Within Youtube Comment Using Python Selenium

I'm new to selenium python, I'm trying to click a link in the youtube comment but I don'… Read more How To Click A Link Within Youtube Comment Using Python Selenium

Extracting Information From A Table On A Website Using Python, Lxml & Xpath

I managed after lots of hard work to extract some information that i needed from a table from this … Read more Extracting Information From A Table On A Website Using Python, Lxml & Xpath

How To Select An Element Based On A Polyline Using Selenium And Python?

I am trying to select and click on an element in Selenium, but it doesn't have the typical tags… Read more How To Select An Element Based On A Polyline Using Selenium And Python?

How To Match A Text Node Then Follow Parent Nodes Using Xpath

I'm trying to parse some HTML with XPath. Following the simplified XML example below, I want to… Read more How To Match A Text Node Then Follow Parent Nodes Using Xpath

Selenium.common.exceptions.webdriverexception: Message: Failed To Convert Data To An Object While Trying To Click An Element With Selenium And Python

im trying to click a button on a page after logging in the button is the following HTML Solution 1… Read more Selenium.common.exceptions.webdriverexception: Message: Failed To Convert Data To An Object While Trying To Click An Element With Selenium And Python

Parse Xpath From Xml File Should Contain '

this is my xml file i parse it like this: self.doc=etree.parse(xmlFile) masterI Solution 1: In X… Read more Parse Xpath From Xml File Should Contain '

Need Generic Xpath For The Following Html Code

Following is the HTML code for which I need a unique XPath. Type Solution 1: @label references to… Read more Need Generic Xpath For The Following Html Code

Scrapy On Arabic Letters Returns Something Strange

I am using scrapy on arabic letters and english letters. The english letters work perfectly. Howev… Read more Scrapy On Arabic Letters Returns Something Strange

Python Selenium Xpath Geting Text Is Empty

So I have this link and I'm trying to obtain the text from this XPath //div[@class='titlu&… Read more Python Selenium Xpath Geting Text Is Empty

Python .click() Not Working

I am currently using the following Python and Selenium versions: Python34 3.4.3 (v3.4.3:9b73f1c3e60… Read more Python .click() Not Working

Unable To Fit The Two Expressions Into My Script

I've written a script to scrape documents from a web page using python in combination with sele… Read more Unable To Fit The Two Expressions Into My Script

Python Xml Query Get Parent

I have a big xml document that looks like this: 3 Solution 1: Unfortunately, when using the Elemen… Read more Python Xml Query Get Parent

Python Selenium Button Won't Click

I'm trying to click this Go button but it hasn't been working. Here's the HTML: Solutio… Read more Python Selenium Button Won't Click

How To Find A Element After A Search Click Checkbox In Selenium Python

After I search for a user in the search field, I get the user I searched Now I need to select this … Read more How To Find A Element After A Search Click Checkbox In Selenium Python

Empty List Returning By Xpath In Scrapy

I am working on scrapy , i am trying to gather some data from a site , Spider Code class NaaptolSp… Read more Empty List Returning By Xpath In Scrapy

No Nested Nodes. How To Get One Piece Of Information And Then To Get Additional Info Respectively?

For the code below I need to get dates and their times+hrefs+formats+...(not shown) respectively. T… Read more No Nested Nodes. How To Get One Piece Of Information And Then To Get Additional Info Respectively?

Scrapy Returning A Null Output When Extracting An Element From A Table Using Xpath

I have been trying to scrape this website that has details of oil wells in Colorado https://cogcc.s… Read more Scrapy Returning A Null Output When Extracting An Element From A Table Using Xpath