Closed JoshuaKGoldberg closed 6 years ago
Is there any way you could provide a more complete set of reproduction steps? The switchToFrame
method is part of Selenium core, so I'm struggling to understand why it'd 404.
part of Selenium core
I assume it's because the IE driver doesn't support that method.
You should be able to repro using the sample code listed in the README.md Usage section when running against Internet Explorer using IEDriverServer.exe.
If it helps, I'm running on Windows Server 2016 against IE 11.
Thanks, this helps. I'll see about getting a Windows machine for testing and/or use a VM.
I've done some primitive testing and research, and am not able to reproduce this. What version of IE driver are you using?
I'm on https://selenium-release.storage.googleapis.com/3.9: IEDriverServer_Win32_3.9.0.zip.
I still haven't been able to reproduce this. Is there any way you can setup a minimal reproduction repo/gist?
I haven't been able to 😕 so I guess it's probably something convoluted on my end... ah well. Thanks for testing!
Sure thing! Sorry I couldn't have been more help. Feel free to reopen of this comes up again.
🙃
Running this with
jest-environment-webdriver
and error reporting in https://github.com/SeleniumHQ/selenium/pull/6321:Looks like it's from the
driver.switchTo()s
infindFramesAndInject
inlib/inject.js
. Is there a way around using them? Can the script be injected using, say,driver.executeScript
and some fancy string concats?