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

[Bug]: Blank screens visible on headless mode. #3021

Closed
Kedar-Ghadge opened this issue Oct 11, 2024 · 6 comments
Closed

[Bug]: Blank screens visible on headless mode. #3021

Kedar-Ghadge opened this issue Oct 11, 2024 · 6 comments

Comments

@Kedar-Ghadge
Copy link

Version

1.44.0

Steps to reproduce

Example steps (replace with your own):

  1. Clone my repo at https://github.com/Kedar-Ghadge/PlaywrightWithNunitCSharp.git
  2. Make changes in runsettings file, change headless mode to true.
  3. execute command dotnet test from the project's folder path
  4. You should see blank screens come up without any taskbar icon for same.

Expected behavior

No blank screens should occur.

Actual behavior

Blank screens are occurring on test execution.

Additional context

  • If I put wrong spelling for true like instead of 'true' if I put 'ture' then no blank screen is occurring.

Environment

  • Operating System: [Windows 11]
  • CPU: [x64]
  • Browser: [Chromium]
  • .NET Version (TFM): [net8.0]
  • Other info:
@campersau
Copy link
Contributor

Looks similar to these issues:

For me it looks like the issue is no longer present with chrome/edge 130.
I am supprised that I coulnd't find a playwright issue for it.

If I put wrong spelling for true like instead of 'true' if I put 'ture' then no blank screen is occurring.

For me the test fail immediatly when using incorrect spelling.

@mxschmitt
Copy link
Member

@Kedar-Ghadge have you tried a more recent Playwright version? e.g. 1.47?

@Kedar-Ghadge
Copy link
Author

Let me try with lastest Playwright version and let me check with my browser version as well. One more observation I have. If I remove channel from runsettings file then also I am not getting any blank screen

@mxschmitt
Copy link
Member

This means that updating won't help - since msedge still uses your system Microsoft Edge which you have installed.

You can try Microsoft Edge Beta / Dev if you need to use Edge and can't use Playwright's Chromium.

@mxschmitt
Copy link
Member

I see that you don't use the latest Playwright version. The other folks in the issue suggest that updating the Playwright version should make it work with recent Microsoft Edge.

@Kedar-Ghadge
Copy link
Author

@mxschmitt, it worked after upgrading playwright to 1.47.0 latest version. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants