fix: fix attach
This commit is contained in:
@@ -632,7 +632,9 @@ handlers[4] = async (tabNode, containerNode) => {
|
||||
};
|
||||
|
||||
async function attack(containerNode, name) {
|
||||
const chooseBtn = containerNode.querySelector(`button.btn.btn-dark`);
|
||||
const chooseBtn = containerNode.querySelector(
|
||||
`button.btn.btn-dark:nth-child(2)`,
|
||||
);
|
||||
chooseBtn.click();
|
||||
await sleep(100);
|
||||
const dialogNode = document.querySelector("#headlessui-portal-root");
|
||||
|
||||
Reference in New Issue
Block a user