Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(function () {
var i = 0;
document.querySelectorAll('tr.days .dval.vst').forEach(function(e) {
setTimeout(function () {
e.click();
document.querySelector('#startTime').value = '10:30';
document.querySelector('#endTime').value = '20:00';
document.querySelector('#dlgInpTimeOk').click();
}, 4000 * i);
i++;
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.