Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🚀 Request] Retrieve iframe console logs #650

Open
roguib opened this issue Mar 1, 2023 · 0 comments
Open

[🚀 Request] Retrieve iframe console logs #650

roguib opened this issue Mar 1, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@roguib
Copy link

roguib commented Mar 1, 2023

I'm using vscode-extension-tester to add some functional coverage to an extension that contains several webviews. Recently we have started to see some test failures in our CI pipeline that we aren't able to reproduce locally. It would be useful to be able to dump all the console logs produced by every iframe to a file to understand what's the root cause of the issue.

I've tried the following code snippet but it returns the extension host logs, which aren't very helpful when debugging issues in the iframes.

let logEntries = await driver.manage().logs().get(logging.Type.BROWSER);
let logOutput = '';
logEntries.forEach((entry) => {
    logOutput += `[${entry.level}] ${entry.timestamp} : ${entry.message}\n`;
});
@roguib roguib added enhancement New feature or request new-issue New issue which was not discussed yet labels Mar 1, 2023
@djelinek djelinek removed the new-issue New issue which was not discussed yet label May 18, 2023
@djelinek djelinek changed the title [Request] Retrieve iframe console logs [🚀 Request] Retrieve iframe console logs Oct 17, 2023
@djelinek djelinek added this to the BACKLOG milestone Oct 17, 2023
@djelinek djelinek added this to ExTester Feb 5, 2024
@djelinek djelinek moved this from New to Backlog in ExTester Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

2 participants