kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Updated CSS Selector help (markdown)
rodzic
9d8e7077f3
commit
12361bfed8
|
@ -34,6 +34,15 @@ filter: `//h3/parent::a//@href`
|
|||
//img//@src
|
||||
```
|
||||
|
||||
# Select by `data-` source
|
||||
|
||||
```
|
||||
<div data-test-id="productSizeList"...
|
||||
```
|
||||
|
||||
`//div[@data-test-id = 'productSizeList']`
|
||||
|
||||
|
||||
# xPath and non-latin text getting garbled
|
||||
|
||||
`xpath:` type filters and non-UTF8 is incompatable, If you see that your text is garbled `Нема планираних искључења.` becomes `Ðема планиÑÐ°Ð½Ð¸Ñ Ð¸ÑкÑÑÑеÑа.` then you should convert your xPath filter to CSS https://extendsclass.com/xpath-to-css.html
|
||||
|
|
Ładowanie…
Reference in New Issue