You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-20
Original file line number
Diff line number
Diff line change
@@ -352,25 +352,6 @@ There may also be elements which need to be completely removed during testing. F
352
352
"#someUnpredictableSizedDomSelector"
353
353
]
354
354
```
355
-
#### Normalization using custom CasperJS scripts
356
-
If static content stubs are not an option you could opt for the normalization of dynamic content using custom scripts. See example `onReady.js` (replacing images with a placeholder):
357
-
358
-
```js
359
-
module.exports=function (casper) {
360
-
casper.then(function() {
361
-
this.evaluate(function() {
362
-
var imagesNodeList =document.querySelectorAll('img.dynamic');
363
-
var imagesArray =Array.prototype.slice.call(images);
0 commit comments