kopia lustrzana https://github.com/dgtlmoon/changedetection.io
Updated Run JavaScript before change detection (markdown)
rodzic
3a02ba9b90
commit
1abe2db08f
|
@ -1,5 +1,9 @@
|
|||
You can run JavaScript _before_ performing change detection, this is handy for filling in fields, clicking buttons and other actions
|
||||
|
||||
Under Watch settings` > `Request` > `Execute JavaScript before change detection`
|
||||
|
||||
Available in 0.39.17
|
||||
|
||||
This is best used with the Chrome Playwright driver.
|
||||
|
||||
## Examples:
|
||||
|
@ -11,4 +15,5 @@ At http://www.quotationspage.com/random.php ( or add this shared watch https://c
|
|||
```
|
||||
document.querySelector("input[name=homesearch]").value="cause and effect";
|
||||
document.querySelector("input[name=startsearch]").click();
|
||||
```
|
||||
```
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue