Closed mirth closed 5 months ago
Hello @mirth thank you for reporting your issue! 👍🏻
I was able to reproduce locally. You need to do a little modification of your test and hopefully you should be able to proceed 🙂
Just need to change 2 lines of yours code to this:
await webviewView.switchToFrame(1000);
const runTest = await webviewView.findWebElement(By.css('button'));
Thanks, it worked!
Describe the bug
The bug appears when trying to use
WebviewView
to access bottom panel elements.Getting
StaleElementReferenceError: stale element reference: stale element not found
Steps to reproduce
Running the tests:
./node_modules/.bin/extest setup-and-run --mocha_config .mocharc.js setup-and-run out/e2e/simple.test.js
Operating System
macOS 14.4.1
Visual Studio Code
1.88.1
vscode-extension-tester
8.0.2
NodeJS
18.16.0
npm
9.5.1