diff --git a/packages/storycrawler/src/browser/stories-browser.ts b/packages/storycrawler/src/browser/stories-browser.ts index 5e8aae09b..c8084137f 100644 --- a/packages/storycrawler/src/browser/stories-browser.ts +++ b/packages/storycrawler/src/browser/stories-browser.ts @@ -63,14 +63,17 @@ export class StoriesBrowser extends BaseBrowser { this.logger.debug('Wait for stories definition.'); await this.page.goto(this.connection.url); let stories: Story[] | null = null; - await this.page - .goto(this.connection.url + '/iframe.html?selectedKind=story-crawler-kind&selectedStory=story-crawler-story', { - timeout: 60_000, - waitUntil: 'domcontentloaded', - }) - .catch(() => { - this.logger.warn('Timeout to open Storybook preview iframe.'); - }); + // await this.page + // .goto(this.connection.url + '/iframe.html?selectedKind=story-crawler-kind&selectedStory=story-crawler-story', { + // timeout: 60_000, + // waitUntil: 'domcontentloaded', + // }) + // .catch(() => { + // this.logger.warn('Timeout to open Storybook preview iframe.'); + // }); + this.page.goto( + this.connection.url + '/iframe.html?selectedKind=story-crawler-kind&selectedStory=story-crawler-story', + ); await this.page.waitForFunction( () => (window as ExposedWindow).__STORYBOOK_CLIENT_API__ ||