* {{> closeCurrentTab }}
()
| 2838 | * {{> closeCurrentTab }} |
| 2839 | */ |
| 2840 | async closeCurrentTab() { |
| 2841 | await this.browser.closeWindow() |
| 2842 | const handles = await this.browser.getWindowHandles() |
| 2843 | if (handles[0]) await this.browser.switchToWindow(handles[0]) |
| 2844 | } |
| 2845 | |
| 2846 | /** |
| 2847 | * {{> openNewTab }} |
nothing calls this directly
no test coverage detected