Open Shamatix opened 2 years ago
I stumbled upon the SelectorLib and saw you were a contributor so I am reaching out in hope you can help me.
I am having a very hard time getting the "XPath" to work. I am trying to scrape the following website: https://oelkassen.dk/vare/false-pattern-modist-brewing-co/
And I am trying to get the following information out. https://i.imgur.com/UhriGSf.png
I have multiple different XPaths that works if I am not using the Chrome SelectorLib plugin, however they dont seem to work in the plugin?
For example: //strong[text()="Alcohol: "]/following-sibling::text()[1]
or //html/body/div[6]/div/div[2]/div[2]/div[2]//strong[text()="Alcohol: "]/following-sibling::text()[1]
Both works in the developer tools, but not in the SelectorLib plugin. https://i.imgur.com/8A0FG2v.png https://i.imgur.com/NRbtZCv.png I hope you can help me out
I stumbled upon the SelectorLib and saw you were a contributor so I am reaching out in hope you can help me.
I am having a very hard time getting the "XPath" to work. I am trying to scrape the following website: https://oelkassen.dk/vare/false-pattern-modist-brewing-co/
And I am trying to get the following information out. https://i.imgur.com/UhriGSf.png
I have multiple different XPaths that works if I am not using the Chrome SelectorLib plugin, however they dont seem to work in the plugin?
For example: //strong[text()="Alcohol: "]/following-sibling::text()[1]
or //html/body/div[6]/div/div[2]/div[2]/div[2]//strong[text()="Alcohol: "]/following-sibling::text()[1]
Both works in the developer tools, but not in the SelectorLib plugin. https://i.imgur.com/8A0FG2v.png https://i.imgur.com/NRbtZCv.png I hope you can help me out