Closed maxbeatty closed 4 years ago
From the error it looks like the session may have become invalid ("sessionId":"<no session>"
). POSTing to /session/<session id>/frame/parent
is a valid command for both W3C webdriver and JsonWireProtocol, so it should work in all cases.
Does this always happen, or only sometimes?
Ok, I see what's happening, at least partly. Neither IE10 nor 11 support the /frame/parent
command, but we're only executing the fallback code for IE10.
if you can point me to the current fallback, I could try to make a PR to fix for IE 11
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