Skip to content

Commit 76bb2cb

Browse files
Update defaults.js
1 parent 76fc459 commit 76bb2cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/public/defaults.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ module.exports.pressElement = async (page, selector, jsClick = false) => {
282282
if (!element) {
283283
return false;
284284
}
285-
285+
// Moving the click to outside the function causes it to fail for unknown reasons
286286
if (isJsClick) {
287287
element.click();
288288
}

0 commit comments

Comments
 (0)