kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Updated Run JavaScript before change detection (markdown)
rodzic
17dca6c23c
commit
bb4b7f3c32
|
@ -10,7 +10,7 @@ Requires [Playwright driver enabled](https://github.com/dgtlmoon/changedetection
|
|||
|
||||
### Fill in the search box and click submit
|
||||
|
||||
At http://www.quotationspage.com/random.php ( or add this shared watch https://changedetection.io/share/qvQ8NFFxQsMa )
|
||||
At http://www.quotationspage.com/random.php ( shared watch import link https://changedetection.io/share/qvQ8NFFxQsMa )
|
||||
|
||||
```
|
||||
document.querySelector("input[name=homesearch]").value="cause and effect";
|
||||
|
@ -30,3 +30,10 @@ document.querySelector("input[type=submit]").click();
|
|||
document.querySelector("input[type=text]").value="stripes on a tiger never fade";
|
||||
document.querySelector("input[value='Google Search']").click();
|
||||
```
|
||||
|
||||
### Accept cookie alert info
|
||||
https://edition.cnn.com ( shared watch import link https://changedetection.io/share/-ANRwLTBCNMa )
|
||||
|
||||
```
|
||||
document.getElementById('onetrust-accept-btn-handler').click();
|
||||
```
|
Ładowanie…
Reference in New Issue