feat: handle go back event

This commit is contained in:
karishmas6
2024-06-08 23:04:52 +05:30
parent 406d1d40bb
commit 97174efac0

View File

@@ -311,4 +311,9 @@ const onGoBack = async () => {
}
const handleGoBack = async (generator: WorkflowGenerator, page: Page) => {
await page.goBack({waitUntil: 'commit'});
generator.onGoBack(page.url());
logger.log('debug', 'Page went back')
};