works on xiaomi

This commit is contained in:
2023-05-18 21:19:19 +02:00
parent 0ff824b159
commit 2685191be3
+1
View File
@@ -337,6 +337,7 @@ class CommandorPage {
try {
// remove debug flag
// const validElement = await page.$('.btn');
console.log("will click on valid button")
this.page.evaluate(() => {
document.getElementsByClassName("btn")[0].click();
})