Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

switchToWindow, grabAllWindowHandles, grabCurrentWindowHandle does not work #3323

Unanswered
ngavaleshko asked this question in Q&A
Discussion options

Hello,
I want to use switchToWindow as mentioned in documentation: https://codecept.io/helpers/WebDriver/#switchtowindow
image
My code:
image

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?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /