Problem with scraping web data

Dear Team,

I am trying to take data from website and wanted to save in variable. but it shows below error. PLease help me

Below is the snap of webpage

Hi @amol_sonavane try removing /text() from the Xpath.

its working ashapkina……thanks for help

1 Like

Caused by: org.openqa.selenium.InvalidSelectorException: invalid selector: The result of the xpath expression “//*[@id=“issue_actions_container”]//p/text()” is: [object Text].
It should be an element.

The XPath is working. I get a list of 3 elements using XPath helper.
Can someone please advice

@h01234567 you need to remove /text() from your Xpath.

1 Like

Thanks @ashapkina
it is work fine

1 Like

Glad it helped :slight_smile:

1 Like