dgtlmoon / dgtlmoon/changedetection.io

[bug] BrowserSteps - elements with siblings, xPath scanner for BrowserSteps correctly finds the element but cant action on it

Open
#2,188 1 comment 0 reactions 1 assignee Claimed by @dgtlmoon View on GitHub
triage
Dominant language
Python
Stars
34.1k
Forks
2k
Avg merge
7h 37m
Merged PRs (30d)
59

Description

0.45+

The HTML looks like
```
...


```

![image](https://github.com/dgtlmoon/changedetection.io/assets/275001/29691e28-35c3-414a-bdad-88425c63e191)

Which the element scraper would return like `/html/body/div/section/div[1]/div/div/form/div/button[0]` or `/html/body/div/section/div[1]/div/div/form/div/button[1]`

but this syntax is not compatible with puppeteer/playwright, resulting in the error **"Browser step at position 3 could not run, check the watch, add a delay if necessary, view Browser Steps to see screenshot at that step. Could not find the target."**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.