Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Dec 28, 2024
1 parent b92f555 commit c1f0637
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions playwright/utils/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ export async function start(
waitForDecide?: boolean
initPosthog?: boolean
resetOnInit?: boolean
// playwright is stricter than cypress on access to the window object
// sometimes you need to pass functions here that will run on window in the correct page
runBeforePostHogInit?: (pg: Page) => void
// playwright is stricter than cypress on access to the window object
// sometimes you need to pass functions here that will run on window in the correct page
runAfterPostHogInit?: (pg: Page) => void
type?: 'navigate' | 'reload'
options?: Partial<PostHogConfig>
Expand Down

0 comments on commit c1f0637

Please sign in to comment.