diff --git a/Run-JavaScript-before-change-detection.md b/Run-JavaScript-before-change-detection.md index 4e634ae..d5dbe88 100644 --- a/Run-JavaScript-before-change-detection.md +++ b/Run-JavaScript-before-change-detection.md @@ -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(); -``` \ No newline at end of file +``` +