Skip to content

Instantly share code, notes, and snippets.

Avatar

Dmitri Voronianski voronianski

View GitHub Profile
View webpagetest-visualtest-starter.js
const data = [
['My Title', 'https://example.org'],
// more...
];
const min = 1;
const max = data.length;
for (let i = min; i < max; i++) {
document.querySelector('#visual_comparison button').click();
}
View github-unwatch-page.js
(function () {
const nodes = document.querySelectorAll('button.select-menu-item[value="included');
const arr = [ ...nodes ];
arr.forEach(button => {
setTimeout(() => {
button.click();
}, 500);
});
})();
@voronianski
voronianski / esnextbin.md
Last active Nov 15, 2018
with babel-standalone v6.26.0
@voronianski
voronianski / esnextbin.md
Last active Nov 15, 2018
@babel/standalone v7.1.0
You can’t perform that action at this time.