* {{> clearCookie }}
(cookieName)
| 2638 | * {{> clearCookie }} |
| 2639 | */ |
| 2640 | async clearCookie(cookieName) { |
| 2641 | if (!this.browserContext) return |
| 2642 | if (cookieName) { |
| 2643 | return this.browserContext.clearCookies({ name: cookieName }) |
| 2644 | } |
| 2645 | return this.browserContext.clearCookies() |
| 2646 | } |
| 2647 | |
| 2648 | /** |
| 2649 | * Executes a script on the page: |
no outgoing calls
no test coverage detected