switchToWindow, grabAllWindowHandles, grabCurrentWindowHandle does not work #3323
Unanswered
ngavaleshko
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,


I want to use
switchToWindow
as mentioned in documentation: https://codecept.io/helpers/WebDriver/#switchtowindowMy code:
Response:
I.grabAllWindowHandles is not a function
My configuration:
"@codeceptjs/configure": "^0.8.0",
codeceptjs/examples": "^1.2.1",
codeceptjs/helper": "^1.0.2",
codeceptjs/ui": "^0.4.6",
playwright/test": "^1.21.0",
types/consul": "^0.23.35",
typescript-eslint/eslint-plugin": "^4.28.1",
typescript-eslint/parser": "^4.28.1",
chai": "^4.3.6",
codeceptjs": "^3.3.3",
dotenv": "^8.6.0",
eslint": "^7.29.0",
eslint-config-prettier": "^8.3.0",
eslint-plugin-prettier": "^3.4.0",
faker": "^5.5.1",
moment": "^2.29.1",
playwright": "1.21.0",
prettier": "2.6.2",
pretty-quick": "^3.1.1",
request": "^2.88.2",
ts-node": "^9.1.1",
typescript": "^4.1.3"
Would anyone have an idea on how to solve that issue or can tell me it's a CodeceptJS bug?
Beta Was this translation helpful? Give feedback.
All reactions