-
Notifications
You must be signed in to change notification settings - Fork 307
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
switchToParentFrame errors in IE 11 (but not 10) #1081
Comments
From the error it looks like the session may have become invalid ( Does this always happen, or only sometimes? |
Ok, I see what's happening, at least partly. Neither IE10 nor 11 support the |
if you can point me to the current fallback, I could try to make a PR to fix for IE 11 |
- Set the brokenParentFrameSwitch flag for IE - Update session.switchToParentFrame to auto-set the brokenParentFrameSwitch flag if a frame switch call fails and it wasn't already set - Update the feature test to use a direct POST call instead of calling session.switchToParentFrame - Re-enable the self test resolves theintern#1081
- Set the brokenParentFrameSwitch flag for IE - Update session.switchToParentFrame to auto-set the brokenParentFrameSwitch flag if a frame switch call fails and it wasn't already set - Update the feature test to use a direct POST call instead of calling session.switchToParentFrame - Re-enable the self test resolves theintern#1081
- Set the brokenParentFrameSwitch flag for IE - Update session.switchToParentFrame to auto-set the brokenParentFrameSwitch flag if a frame switch call fails and it wasn't already set - Update the feature test to use a direct POST call instead of calling session.switchToParentFrame - Re-enable the self test resolves #1081
- Set the brokenParentFrameSwitch flag for IE - Update session.switchToParentFrame to auto-set the brokenParentFrameSwitch flag if a frame switch call fails and it wasn't already set - Update the feature test to use a direct POST call instead of calling session.switchToParentFrame - Re-enable the self test resolves #1081
Expected behavior
switchToParentFrame
should work consistently across browsersCurrent behavior
"Command not found" when
POST /session/{{session_id}}/frame/parent
Possible solution
Maybe there's a workaround with alternate syntax?
Steps to reproduce (for bugs)
yarn install
.env
or export in shellyarn test --browserstack --browser ie --browser-version 11
Environment
Intern version: 4.8.0
Node version: circleci/node:lts
NPM version: yarn v1.21.1
Browser version: Internet Explorer 11
The text was updated successfully, but these errors were encountered: