change song API url in interface wait trigger
This commit is contained in:
parent
881c6c773c
commit
72bdbe083e
@ -281,7 +281,7 @@ class SunoApi {
|
||||
|
||||
logger.info('Waiting for Suno interface to load');
|
||||
// await page.locator('.react-aria-GridList').waitFor({ timeout: 60000 });
|
||||
await page.waitForResponse('**/api/feed/v2**', { timeout: 60000 }); // wait for song list API call
|
||||
await page.waitForResponse('**/api/project/**\\?**', { timeout: 60000 }); // wait for song list API call
|
||||
|
||||
if (this.ghostCursorEnabled)
|
||||
this.cursor = await createCursor(page);
|
||||
|
Loading…
Reference in New Issue
Block a user