This commit is contained in:
parent
f9299f1091
commit
66b0fd41b3
@ -47,7 +47,8 @@ async function selectNewVault(page: Page, vaultPath: string) {
|
||||
const promise = page.waitForEvent("filechooser");
|
||||
await btn.click();
|
||||
const chooser = await promise;
|
||||
await chooser.setFiles(vaultPath);
|
||||
let el = chooser.element();
|
||||
console.log("chooser el", el);
|
||||
} catch (e) {
|
||||
console.debug(
|
||||
"congratulations, you don't have to choose a vault manually!"
|
||||
|
Loading…
Reference in New Issue
Block a user