Created
September 7, 2015 02:23
-
-
Save axemclion/72c8c1cc6b506df62b01 to your computer and use it in GitHub Desktop.
Perfjankie - Scrolling custom element
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var perfjankie = require('perfjankie'); | |
| var browserperf = require('perfjankie/node_modules/browser-perf'); | |
| perfjankie({ | |
| 'url': 'http://localhost:8080', | |
| 'browsers': [{ | |
| 'browserName': 'chrome' | |
| }], | |
| 'selenium': 'http://localhost:9515', | |
| 'couch': { | |
| 'server': 'http://localhost:5984', | |
| 'database': 'test_table_view', | |
| }, | |
| 'log': console.log.bind(console), | |
| 'actions': [browserperf.actions.scroll({ | |
| scrollElement: 'document.getElementsByClassName("myclass")[0]' | |
| })] | |
| }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment