mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-28 12:36:35 +00:00
Log message
This commit is contained in:
parent
2428430173
commit
650c1af417
1 changed files with 2 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ export default class Shooter {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log("page log:", consoleMessage);
|
||||
console.log("page log:", consoleMessage.text());
|
||||
});
|
||||
this._page.on("error", (e) => {
|
||||
console.log(`Page error: ${e.toString()}`);
|
||||
|
|
@ -79,6 +79,7 @@ export default class Shooter {
|
|||
try {
|
||||
const handle = await this._page.$("#webamp-file-input");
|
||||
|
||||
console.log("Goinng to try to screenshot");
|
||||
// eslint-disable-next-line no-async-promise-executor
|
||||
await new Promise(async (resolve, reject) => {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue