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

Target page, context or browser has been closed #31443

Closed
drsnkrt opened this issue Jun 26, 2024 · 4 comments
Closed

Target page, context or browser has been closed #31443

drsnkrt opened this issue Jun 26, 2024 · 4 comments

Comments

@drsnkrt
Copy link

drsnkrt commented Jun 26, 2024

Version

1.44.0

Steps to reproduce

This is a company repo, I can not share. But I try a lot of combo for this

Last one is

public class WebDriverUtils {

    Playwright playwright;
    private BrowserContext context;
    private Page page;
    final Logger logger = Logger.getLogger(this.getClass().getName());

    public Page setPage() {
        logger.info("Page instance creating...");
        page = getContext().newPage();
        return page;
    }

    public BrowserContext setContext() {
        logger.info("BrowserContext instance creating...");
        playwright = Playwright.create();
        context = playwright.chromium()
                .launch(new BrowserType.LaunchOptions().setHeadless(false).setArgs(Collections.singletonList("--start-maximized")))
                .newContext(new Browser.NewContextOptions().setViewportSize(null));
//                        .setRecordVideoDir(Paths.get("target/videos/")).setRecordVideoSize(1280, 720));//video
        context.grantPermissions(List.of("clipboard-write", "clipboard-read"));
        context.setDefaultTimeout(ELEMENT_LOAD_TIMEOUT);
        context.setDefaultNavigationTimeout(PAGE_LOAD_TIMEOUT);
        return context;
    }

    public Page getPage() {
        if (page == null) {
            page = setPage();
        }
        return page;
    }

    public BrowserContext getContext() {
        if (context == null) {
            context = setContext();
        }
        return context;
    }

}

  @Before
    public void before(Scenario s) {
        logger.info("THE SCENARIO WILL BE START: " + s.getName());
        page = new WebDriverUtils().getPage();
    }

Expected behavior

I have 70+ scenarios on cucumber & playwright project. When I run these features I want to run every scenario correctly, but it does not run correctly. Because chromium crashing 10-15 time for a run

Actual behavior

I have stacktrace like this

com.microsoft.playwright.impl.TargetClosedError: Error {
message='Target page, context or browser has been closed
Browser logs:

(launching) C:\Windows\ServiceProfiles\NetworkService\AppData\Local\ms-playwright\chromium-1117\chrome-win\chrome.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --no-sandbox --user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp\playwright_chromiumdev_profile-XXXXXX6SVizR --remote-debugging-pipe --no-startup-window
(launched) pid=51704
[pid=51704][err] [51704:51676:0624/162631.694:FATAL:gdi_debug_util_win.cc(429)] Check failed: false.
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB17ED2+1498162]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5ED6905D+20704701]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B51D+1970813]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B408+1970536]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA3AF8+2070616]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA387C+2069980]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47EA97+5352471]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5F837648+1687144]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47E106+5350022]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BC556F+38968719]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60193DE1+11503105]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE648AE991+86061489]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BD46B5+39030485]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6414E1C6+78326246]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5D9B7439+53657]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60475DCE+14525934]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5FFC750B+9616683]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC50C11+19556721]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC502D0+19554352]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC4B375+19534037]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6207235A+43871098]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE636C2AAE+67269326]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B1CA154+760500]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE605749BE+15569374]
[pid=51704][err] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x00007FFE5EEFC560+1123872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA52BE8+9708872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA524D5+9707061]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA2BE0D+9549677]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4C91E+9683582]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D801+9687393]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB4296E+1672910]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A089+156169]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF899B6+154422]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB0A355+1441973]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB09C29+1440137]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A964+158436]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB5F67E+1790942]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B993618+8925048]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9956A1+8933377]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9900B8+8911384]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D324548+35733160]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325988+35738344]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325666+35737542]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323AA9+35730441]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323E88+35731432]
[pid=51704][err] ChromeMain [0x00007FFE59081429+873]
[pid=51704][err] GetPakFileHashes [0x00007FF734C52357+4951]
[pid=51704][err] GetPakFileHashes [0x00007FF734C515EE+1518]
[pid=51704][err] GetHandleVerifier [0x00007FF734DCD1C2+1056450]
[pid=51704][err] BaseThreadInitThunk [0x00007FFEAA124CB0+16]
[pid=51704][err] RtlUserThreadStart [0x00007FFEAB8DECEB+43]
[pid=51704][err] Task trace:
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D707+9687143]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D01E+9685374]
[pid=51704][err] Crash keys:
[pid=51704][err] "num-extensions" = "0"
[pid=51704][err] "is-enterprise-managed" = "no"
[pid=51704][err] "reentry_guard_tls_slot" = "unused"
[pid=51704][err] "variations" = "5e3a236d-59e286d0,b357b792-3f4a17df,9481ce98-3d47f4f4,70678518-dee66fa8,be338734-dee66fa8,5f9907a9-dee66fa8,8eeccb9a-dee66fa8,2b465683-dee66fa8,52fc7926-dee66fa8,a41a7188-dee66fa8,ff71bfdc-dee66fa8,6daa4147-dee66fa8,4b935545-3d47f4f4,9a38bae3-3d47f4f4,41ad04e1-e4065f40,165caa14-3f4a17df,2d1e43a3-3d47f4f4,386dc267-3d47f4f4,6b260bea-b31978bc,"
[pid=51704][err] "num-experiments" = "19"
[pid=51704][err] "switch-32" = "--no-startup-window"
[pid=51704][err] "switch-31" = "--remote-debugging-pipe"
[pid=51704][err] "switch-30" = "--user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp"
[pid=51704][err] "switch-29" = "--no-sandbox"
[pid=51704][err] "switch-28" = "--disable-search-engine-choice-screen"
[pid=51704][err] "switch-27" = "--export-tagged-pdf"
[pid=51704][err] "switch-26" = "--no-service-autorun"
[pid=51704][err] "switch-25" = "--use-mock-keychain"
[pid=51704][err] "switch-24" = "--password-store=basic"
[pid=51704][err] "switch-23" = "--enable-automation"
[pid=51704][err] "switch-22" = "--no-first-run"
[pid=51704][err] "switch-21" = "--metrics-recording-only"
[pid=51704][err] "switch-20" = "--force-color-profile=srgb"
[pid=51704][err] "switch-19" = "--disable-renderer-backgrounding"
[pid=51704][err] "switch-18" = "--disable-prompt-on-repost"
[pid=51704][err] "switch-17" = "--disable-popup-blocking"
[pid=51704][err] "switch-16" = "--disable-ipc-flooding-protection"
[pid=51704][err] "switch-15" = "--disable-hang-monitor"
[pid=51704][err] "switch-14" = "--allow-pre-commit-input"
[pid=51704][err] "switch-13" = "--disable-extensions"
[pid=51704][err] "switch-12" = "--disable-dev-shm-usage"
[pid=51704][err] "switch-11" = "--disable-default-apps"
[pid=51704][err] "switch-10" = "--no-default-browser-check"
[pid=51704][err] "switch-9" = "--disable-component-update"
[pid=51704][err] "switch-8" = "--disable-component-extensions-with-background-pages"
[pid=51704][err] "switch-7" = "--disable-client-side-phishing-detection"
[pid=51704][err] "switch-6" = "--disable-breakpad"
[pid=51704][err] "switch-5" = "--disable-back-forward-cache"
[pid=51704][err] "switch-4" = "--disable-backgrounding-occluded-windows"
[pid=51704][err] "switch-3" = "--disable-background-timer-throttling"
[pid=51704][err] "switch-2" = "--disable-background-networking"
[pid=51704][err] "switch-1" = "--disable-field-trial-config"
[pid=51704][err] "num-switches" = "36"
[pid=51704][err] "commandline-disabled-feature-13" = "PaintHolding"
[pid=51704][err] "commandline-disabled-feature-12" = "HttpsUpgrades"
[pid=51704][err] "commandline-disabled-feature-11" = "Translate"
[pid=51704][err] "commandline-disabled-feature-10" = "AvoidUnnecessaryBeforeUnloadCheckSync"
[pid=51704][err] "commandline-disabled-feature-9" = "CertificateTransparencyComponentUpdater"
[pid=51704][err] "commandline-disabled-feature-8" = "AutoExpandDetailsElement"
[pid=51704][err] "commandline-disabled-feature-7" = "AcceptCHFrame"
[pid=51704][err] "commandline-disabled-feature-6" = "DialMediaRouteProvider"
[pid=51704][err] "commandline-disabled-feature-5" = "MediaRouter"
[pid=51704][err] "commandline-disabled-feature-4" = "DestroyProfileOnBrowserClose"
[pid=51704][err] "commandline-disabled-feature-3" = "GlobalMediaControls"
[pid=51704][err] "commandline-disabled-feature-2" = "LazyFrameLoading"
[pid=51704][err] "commandline-disabled-feature-1" = "ImprovedCookieControls"
[pid=51704][err] "commandline-enabled-feature-2" = "NetworkServiceInProcess"
[pid=51704][err] "commandline-enabled-feature-1" = "NetworkService"
[pid=51704][err]
name='TargetClosedError
stack='TargetClosedError: Target page, context or browser has been closed
Browser logs:

(launching) C:\Windows\ServiceProfiles\NetworkService\AppData\Local\ms-playwright\chromium-1117\chrome-win\chrome.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --no-sandbox --user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp\playwright_chromiumdev_profile-XXXXXX6SVizR --remote-debugging-pipe --no-startup-window
(launched) pid=51704
[pid=51704][err] [51704:51676:0624/162631.694:FATAL:gdi_debug_util_win.cc(429)] Check failed: false.
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB17ED2+1498162]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5ED6905D+20704701]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B51D+1970813]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B408+1970536]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA3AF8+2070616]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA387C+2069980]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47EA97+5352471]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5F837648+1687144]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47E106+5350022]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BC556F+38968719]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60193DE1+11503105]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE648AE991+86061489]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BD46B5+39030485]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6414E1C6+78326246]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5D9B7439+53657]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60475DCE+14525934]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5FFC750B+9616683]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC50C11+19556721]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC502D0+19554352]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC4B375+19534037]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6207235A+43871098]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE636C2AAE+67269326]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B1CA154+760500]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE605749BE+15569374]
[pid=51704][err] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x00007FFE5EEFC560+1123872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA52BE8+9708872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA524D5+9707061]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA2BE0D+9549677]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4C91E+9683582]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D801+9687393]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB4296E+1672910]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A089+156169]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF899B6+154422]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB0A355+1441973]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB09C29+1440137]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A964+158436]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB5F67E+1790942]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B993618+8925048]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9956A1+8933377]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9900B8+8911384]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D324548+35733160]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325988+35738344]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325666+35737542]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323AA9+35730441]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323E88+35731432]
[pid=51704][err] ChromeMain [0x00007FFE59081429+873]
[pid=51704][err] GetPakFileHashes [0x00007FF734C52357+4951]
[pid=51704][err] GetPakFileHashes [0x00007FF734C515EE+1518]
[pid=51704][err] GetHandleVerifier [0x00007FF734DCD1C2+1056450]
[pid=51704][err] BaseThreadInitThunk [0x00007FFEAA124CB0+16]
[pid=51704][err] RtlUserThreadStart [0x00007FFEAB8DECEB+43]
[pid=51704][err] Task trace:
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D707+9687143]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D01E+9685374]
[pid=51704][err] Crash keys:
[pid=51704][err] "num-extensions" = "0"
[pid=51704][err] "is-enterprise-managed" = "no"
[pid=51704][err] "reentry_guard_tls_slot" = "unused"
[pid=51704][err] "variations" = "5e3a236d-59e286d0,b357b792-3f4a17df,9481ce98-3d47f4f4,70678518-dee66fa8,be338734-dee66fa8,5f9907a9-dee66fa8,8eeccb9a-dee66fa8,2b465683-dee66fa8,52fc7926-dee66fa8,a41a7188-dee66fa8,ff71bfdc-dee66fa8,6daa4147-dee66fa8,4b935545-3d47f4f4,9a38bae3-3d47f4f4,41ad04e1-e4065f40,165caa14-3f4a17df,2d1e43a3-3d47f4f4,386dc267-3d47f4f4,6b260bea-b31978bc,"
[pid=51704][err] "num-experiments" = "19"
[pid=51704][err] "switch-32" = "--no-startup-window"
[pid=51704][err] "switch-31" = "--remote-debugging-pipe"
[pid=51704][err] "switch-30" = "--user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp"
[pid=51704][err] "switch-29" = "--no-sandbox"
[pid=51704][err] "switch-28" = "--disable-search-engine-choice-screen"
[pid=51704][err] "switch-27" = "--export-tagged-pdf"
[pid=51704][err] "switch-26" = "--no-service-autorun"
[pid=51704][err] "switch-25" = "--use-mock-keychain"
[pid=51704][err] "switch-24" = "--password-store=basic"
[pid=51704][err] "switch-23" = "--enable-automation"
[pid=51704][err] "switch-22" = "--no-first-run"
[pid=51704][err] "switch-21" = "--metrics-recording-only"
[pid=51704][err] "switch-20" = "--force-color-profile=srgb"
[pid=51704][err] "switch-19" = "--disable-renderer-backgrounding"
[pid=51704][err] "switch-18" = "--disable-prompt-on-repost"
[pid=51704][err] "switch-17" = "--disable-popup-blocking"
[pid=51704][err] "switch-16" = "--disable-ipc-flooding-protection"
[pid=51704][err] "switch-15" = "--disable-hang-monitor"
[pid=51704][err] "switch-14" = "--allow-pre-commit-input"
[pid=51704][err] "switch-13" = "--disable-extensions"
[pid=51704][err] "switch-12" = "--disable-dev-shm-usage"
[pid=51704][err] "switch-11" = "--disable-default-apps"
[pid=51704][err] "switch-10" = "--no-default-browser-check"
[pid=51704][err] "switch-9" = "--disable-component-update"
[pid=51704][err] "switch-8" = "--disable-component-extensions-with-background-pages"
[pid=51704][err] "switch-7" = "--disable-client-side-phishing-detection"
[pid=51704][err] "switch-6" = "--disable-breakpad"
[pid=51704][err] "switch-5" = "--disable-back-forward-cache"
[pid=51704][err] "switch-4" = "--disable-backgrounding-occluded-windows"
[pid=51704][err] "switch-3" = "--disable-background-timer-throttling"
[pid=51704][err] "switch-2" = "--disable-background-networking"
[pid=51704][err] "switch-1" = "--disable-field-trial-config"
[pid=51704][err] "num-switches" = "36"
[pid=51704][err] "commandline-disabled-feature-13" = "PaintHolding"
[pid=51704][err] "commandline-disabled-feature-12" = "HttpsUpgrades"
[pid=51704][err] "commandline-disabled-feature-11" = "Translate"
[pid=51704][err] "commandline-disabled-feature-10" = "AvoidUnnecessaryBeforeUnloadCheckSync"
[pid=51704][err] "commandline-disabled-feature-9" = "CertificateTransparencyComponentUpdater"
[pid=51704][err] "commandline-disabled-feature-8" = "AutoExpandDetailsElement"
[pid=51704][err] "commandline-disabled-feature-7" = "AcceptCHFrame"
[pid=51704][err] "commandline-disabled-feature-6" = "DialMediaRouteProvider"
[pid=51704][err] "commandline-disabled-feature-5" = "MediaRouter"
[pid=51704][err] "commandline-disabled-feature-4" = "DestroyProfileOnBrowserClose"
[pid=51704][err] "commandline-disabled-feature-3" = "GlobalMediaControls"
[pid=51704][err] "commandline-disabled-feature-2" = "LazyFrameLoading"
[pid=51704][err] "commandline-disabled-feature-1" = "ImprovedCookieControls"
[pid=51704][err] "commandline-enabled-feature-2" = "NetworkServiceInProcess"
[pid=51704][err] "commandline-enabled-feature-1" = "NetworkService"
[pid=51704][err]
at DispatcherConnection.dispatch (C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp\playwright-java-3725539109975965898\package\lib\server\dispatchers\dispatcher.js:375:15)
}
at com.microsoft.playwright.impl.WaitableResult.get(WaitableResult.java:54)
at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:120)
at com.microsoft.playwright.impl.Connection.sendMessage(Connection.java:130)
at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:106)
at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:101)
at com.microsoft.playwright.impl.BrowserContextImpl.newPageImpl(BrowserContextImpl.java:459)
at com.microsoft.playwright.impl.BrowserContextImpl.lambda$newPage$13(BrowserContextImpl.java:452)
at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:47)
at com.microsoft.playwright.impl.ChannelOwner.withLogging(ChannelOwner.java:89)
at com.microsoft.playwright.impl.BrowserContextImpl.newPage(BrowserContextImpl.java:452)
at com.microsoft.playwright.impl.BrowserContextImpl.newPage(BrowserContextImpl.java:45)
at com.factory.WebDriverUtils.setPage(WebDriverUtils.java:21)
at com.factory.WebDriverUtils.getPage(WebDriverUtils.java:47)
at com.factory.steps.StepDefinitions.before(StepDefinitions.java:26)
Caused by: com.microsoft.playwright.impl.TargetClosedError: Error {
message='Target page, context or browser has been closed
Browser logs:

(launching) C:\Windows\ServiceProfiles\NetworkService\AppData\Local\ms-playwright\chromium-1117\chrome-win\chrome.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --no-sandbox --user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp\playwright_chromiumdev_profile-XXXXXX6SVizR --remote-debugging-pipe --no-startup-window
(launched) pid=51704
[pid=51704][err] [51704:51676:0624/162631.694:FATAL:gdi_debug_util_win.cc(429)] Check failed: false.
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB17ED2+1498162]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5ED6905D+20704701]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B51D+1970813]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B408+1970536]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA3AF8+2070616]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA387C+2069980]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47EA97+5352471]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5F837648+1687144]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47E106+5350022]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BC556F+38968719]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60193DE1+11503105]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE648AE991+86061489]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BD46B5+39030485]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6414E1C6+78326246]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5D9B7439+53657]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60475DCE+14525934]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5FFC750B+9616683]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC50C11+19556721]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC502D0+19554352]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC4B375+19534037]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6207235A+43871098]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE636C2AAE+67269326]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B1CA154+760500]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE605749BE+15569374]
[pid=51704][err] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x00007FFE5EEFC560+1123872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA52BE8+9708872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA524D5+9707061]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA2BE0D+9549677]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4C91E+9683582]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D801+9687393]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB4296E+1672910]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A089+156169]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF899B6+154422]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB0A355+1441973]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB09C29+1440137]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A964+158436]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB5F67E+1790942]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B993618+8925048]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9956A1+8933377]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9900B8+8911384]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D324548+35733160]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325988+35738344]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325666+35737542]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323AA9+35730441]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323E88+35731432]
[pid=51704][err] ChromeMain [0x00007FFE59081429+873]
[pid=51704][err] GetPakFileHashes [0x00007FF734C52357+4951]
[pid=51704][err] GetPakFileHashes [0x00007FF734C515EE+1518]
[pid=51704][err] GetHandleVerifier [0x00007FF734DCD1C2+1056450]
[pid=51704][err] BaseThreadInitThunk [0x00007FFEAA124CB0+16]
[pid=51704][err] RtlUserThreadStart [0x00007FFEAB8DECEB+43]
[pid=51704][err] Task trace:
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D707+9687143]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D01E+9685374]
[pid=51704][err] Crash keys:
[pid=51704][err] "num-extensions" = "0"
[pid=51704][err] "is-enterprise-managed" = "no"
[pid=51704][err] "reentry_guard_tls_slot" = "unused"
[pid=51704][err] "variations" = "5e3a236d-59e286d0,b357b792-3f4a17df,9481ce98-3d47f4f4,70678518-dee66fa8,be338734-dee66fa8,5f9907a9-dee66fa8,8eeccb9a-dee66fa8,2b465683-dee66fa8,52fc7926-dee66fa8,a41a7188-dee66fa8,ff71bfdc-dee66fa8,6daa4147-dee66fa8,4b935545-3d47f4f4,9a38bae3-3d47f4f4,41ad04e1-e4065f40,165caa14-3f4a17df,2d1e43a3-3d47f4f4,386dc267-3d47f4f4,6b260bea-b31978bc,"
[pid=51704][err] "num-experiments" = "19"
[pid=51704][err] "switch-32" = "--no-startup-window"
[pid=51704][err] "switch-31" = "--remote-debugging-pipe"
[pid=51704][err] "switch-30" = "--user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp"
[pid=51704][err] "switch-29" = "--no-sandbox"
[pid=51704][err] "switch-28" = "--disable-search-engine-choice-screen"
[pid=51704][err] "switch-27" = "--export-tagged-pdf"
[pid=51704][err] "switch-26" = "--no-service-autorun"
[pid=51704][err] "switch-25" = "--use-mock-keychain"
[pid=51704][err] "switch-24" = "--password-store=basic"
[pid=51704][err] "switch-23" = "--enable-automation"
[pid=51704][err] "switch-22" = "--no-first-run"
[pid=51704][err] "switch-21" = "--metrics-recording-only"
[pid=51704][err] "switch-20" = "--force-color-profile=srgb"
[pid=51704][err] "switch-19" = "--disable-renderer-backgrounding"
[pid=51704][err] "switch-18" = "--disable-prompt-on-repost"
[pid=51704][err] "switch-17" = "--disable-popup-blocking"
[pid=51704][err] "switch-16" = "--disable-ipc-flooding-protection"
[pid=51704][err] "switch-15" = "--disable-hang-monitor"
[pid=51704][err] "switch-14" = "--allow-pre-commit-input"
[pid=51704][err] "switch-13" = "--disable-extensions"
[pid=51704][err] "switch-12" = "--disable-dev-shm-usage"
[pid=51704][err] "switch-11" = "--disable-default-apps"
[pid=51704][err] "switch-10" = "--no-default-browser-check"
[pid=51704][err] "switch-9" = "--disable-component-update"
[pid=51704][err] "switch-8" = "--disable-component-extensions-with-background-pages"
[pid=51704][err] "switch-7" = "--disable-client-side-phishing-detection"
[pid=51704][err] "switch-6" = "--disable-breakpad"
[pid=51704][err] "switch-5" = "--disable-back-forward-cache"
[pid=51704][err] "switch-4" = "--disable-backgrounding-occluded-windows"
[pid=51704][err] "switch-3" = "--disable-background-timer-throttling"
[pid=51704][err] "switch-2" = "--disable-background-networking"
[pid=51704][err] "switch-1" = "--disable-field-trial-config"
[pid=51704][err] "num-switches" = "36"
[pid=51704][err] "commandline-disabled-feature-13" = "PaintHolding"
[pid=51704][err] "commandline-disabled-feature-12" = "HttpsUpgrades"
[pid=51704][err] "commandline-disabled-feature-11" = "Translate"
[pid=51704][err] "commandline-disabled-feature-10" = "AvoidUnnecessaryBeforeUnloadCheckSync"
[pid=51704][err] "commandline-disabled-feature-9" = "CertificateTransparencyComponentUpdater"
[pid=51704][err] "commandline-disabled-feature-8" = "AutoExpandDetailsElement"
[pid=51704][err] "commandline-disabled-feature-7" = "AcceptCHFrame"
[pid=51704][err] "commandline-disabled-feature-6" = "DialMediaRouteProvider"
[pid=51704][err] "commandline-disabled-feature-5" = "MediaRouter"
[pid=51704][err] "commandline-disabled-feature-4" = "DestroyProfileOnBrowserClose"
[pid=51704][err] "commandline-disabled-feature-3" = "GlobalMediaControls"
[pid=51704][err] "commandline-disabled-feature-2" = "LazyFrameLoading"
[pid=51704][err] "commandline-disabled-feature-1" = "ImprovedCookieControls"
[pid=51704][err] "commandline-enabled-feature-2" = "NetworkServiceInProcess"
[pid=51704][err] "commandline-enabled-feature-1" = "NetworkService"
[pid=51704][err]
name='TargetClosedError
stack='TargetClosedError: Target page, context or browser has been closed
Browser logs:

(launching) C:\Windows\ServiceProfiles\NetworkService\AppData\Local\ms-playwright\chromium-1117\chrome-win\chrome.exe --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate,HttpsUpgrades,PaintHolding --allow-pre-commit-input --disable-hang-monitor --disable-ipc-flooding-protection --disable-popup-blocking --disable-prompt-on-repost --disable-renderer-backgrounding --force-color-profile=srgb --metrics-recording-only --no-first-run --enable-automation --password-store=basic --use-mock-keychain --no-service-autorun --export-tagged-pdf --disable-search-engine-choice-screen --no-sandbox --user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp\playwright_chromiumdev_profile-XXXXXX6SVizR --remote-debugging-pipe --no-startup-window
(launched) pid=51704
[pid=51704][err] [51704:51676:0624/162631.694:FATAL:gdi_debug_util_win.cc(429)] Check failed: false.
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB17ED2+1498162]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5ED6905D+20704701]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B51D+1970813]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB8B408+1970536]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA3AF8+2070616]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DBA387C+2069980]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47EA97+5352471]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5F837648+1687144]
[pid=51704][err] GetHandleVerifier [0x00007FFE5F47E106+5350022]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BC556F+38968719]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60193DE1+11503105]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE648AE991+86061489]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE61BD46B5+39030485]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6414E1C6+78326246]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5D9B7439+53657]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE60475DCE+14525934]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE5FFC750B+9616683]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC50C11+19556721]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC502D0+19554352]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5EC4B375+19534037]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE6207235A+43871098]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE636C2AAE+67269326]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B1CA154+760500]
[pid=51704][err] sqlite3_dbdata_init [0x00007FFE605749BE+15569374]
[pid=51704][err] RelaunchChromeBrowserWithNewCommandLineIfNeeded [0x00007FFE5EEFC560+1123872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA52BE8+9708872]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA524D5+9707061]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA2BE0D+9549677]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4C91E+9683582]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D801+9687393]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB4296E+1672910]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A089+156169]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF899B6+154422]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB0A355+1441973]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB09C29+1440137]
[pid=51704][err] GetHandleVerifier [0x00007FFE5EF8A964+158436]
[pid=51704][err] IsSandboxedProcess [0x00007FFE5DB5F67E+1790942]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B993618+8925048]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9956A1+8933377]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5B9900B8+8911384]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D324548+35733160]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325988+35738344]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D325666+35737542]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323AA9+35730441]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5D323E88+35731432]
[pid=51704][err] ChromeMain [0x00007FFE59081429+873]
[pid=51704][err] GetPakFileHashes [0x00007FF734C52357+4951]
[pid=51704][err] GetPakFileHashes [0x00007FF734C515EE+1518]
[pid=51704][err] GetHandleVerifier [0x00007FF734DCD1C2+1056450]
[pid=51704][err] BaseThreadInitThunk [0x00007FFEAA124CB0+16]
[pid=51704][err] RtlUserThreadStart [0x00007FFEAB8DECEB+43]
[pid=51704][err] Task trace:
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D707+9687143]
[pid=51704][err] CrashForExceptionInNonABICompliantCodeRange [0x00007FFE5BA4D01E+9685374]
[pid=51704][err] Crash keys:
[pid=51704][err] "num-extensions" = "0"
[pid=51704][err] "is-enterprise-managed" = "no"
[pid=51704][err] "reentry_guard_tls_slot" = "unused"
[pid=51704][err] "variations" = "5e3a236d-59e286d0,b357b792-3f4a17df,9481ce98-3d47f4f4,70678518-dee66fa8,be338734-dee66fa8,5f9907a9-dee66fa8,8eeccb9a-dee66fa8,2b465683-dee66fa8,52fc7926-dee66fa8,a41a7188-dee66fa8,ff71bfdc-dee66fa8,6daa4147-dee66fa8,4b935545-3d47f4f4,9a38bae3-3d47f4f4,41ad04e1-e4065f40,165caa14-3f4a17df,2d1e43a3-3d47f4f4,386dc267-3d47f4f4,6b260bea-b31978bc,"
[pid=51704][err] "num-experiments" = "19"
[pid=51704][err] "switch-32" = "--no-startup-window"
[pid=51704][err] "switch-31" = "--remote-debugging-pipe"
[pid=51704][err] "switch-30" = "--user-data-dir=C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp"
[pid=51704][err] "switch-29" = "--no-sandbox"
[pid=51704][err] "switch-28" = "--disable-search-engine-choice-screen"
[pid=51704][err] "switch-27" = "--export-tagged-pdf"
[pid=51704][err] "switch-26" = "--no-service-autorun"
[pid=51704][err] "switch-25" = "--use-mock-keychain"
[pid=51704][err] "switch-24" = "--password-store=basic"
[pid=51704][err] "switch-23" = "--enable-automation"
[pid=51704][err] "switch-22" = "--no-first-run"
[pid=51704][err] "switch-21" = "--metrics-recording-only"
[pid=51704][err] "switch-20" = "--force-color-profile=srgb"
[pid=51704][err] "switch-19" = "--disable-renderer-backgrounding"
[pid=51704][err] "switch-18" = "--disable-prompt-on-repost"
[pid=51704][err] "switch-17" = "--disable-popup-blocking"
[pid=51704][err] "switch-16" = "--disable-ipc-flooding-protection"
[pid=51704][err] "switch-15" = "--disable-hang-monitor"
[pid=51704][err] "switch-14" = "--allow-pre-commit-input"
[pid=51704][err] "switch-13" = "--disable-extensions"
[pid=51704][err] "switch-12" = "--disable-dev-shm-usage"
[pid=51704][err] "switch-11" = "--disable-default-apps"
[pid=51704][err] "switch-10" = "--no-default-browser-check"
[pid=51704][err] "switch-9" = "--disable-component-update"
[pid=51704][err] "switch-8" = "--disable-component-extensions-with-background-pages"
[pid=51704][err] "switch-7" = "--disable-client-side-phishing-detection"
[pid=51704][err] "switch-6" = "--disable-breakpad"
[pid=51704][err] "switch-5" = "--disable-back-forward-cache"
[pid=51704][err] "switch-4" = "--disable-backgrounding-occluded-windows"
[pid=51704][err] "switch-3" = "--disable-background-timer-throttling"
[pid=51704][err] "switch-2" = "--disable-background-networking"
[pid=51704][err] "switch-1" = "--disable-field-trial-config"
[pid=51704][err] "num-switches" = "36"
[pid=51704][err] "commandline-disabled-feature-13" = "PaintHolding"
[pid=51704][err] "commandline-disabled-feature-12" = "HttpsUpgrades"
[pid=51704][err] "commandline-disabled-feature-11" = "Translate"
[pid=51704][err] "commandline-disabled-feature-10" = "AvoidUnnecessaryBeforeUnloadCheckSync"
[pid=51704][err] "commandline-disabled-feature-9" = "CertificateTransparencyComponentUpdater"
[pid=51704][err] "commandline-disabled-feature-8" = "AutoExpandDetailsElement"
[pid=51704][err] "commandline-disabled-feature-7" = "AcceptCHFrame"
[pid=51704][err] "commandline-disabled-feature-6" = "DialMediaRouteProvider"
[pid=51704][err] "commandline-disabled-feature-5" = "MediaRouter"
[pid=51704][err] "commandline-disabled-feature-4" = "DestroyProfileOnBrowserClose"
[pid=51704][err] "commandline-disabled-feature-3" = "GlobalMediaControls"
[pid=51704][err] "commandline-disabled-feature-2" = "LazyFrameLoading"
[pid=51704][err] "commandline-disabled-feature-1" = "ImprovedCookieControls"
[pid=51704][err] "commandline-enabled-feature-2" = "NetworkServiceInProcess"
[pid=51704][err] "commandline-enabled-feature-1" = "NetworkService"
[pid=51704][err]
at DispatcherConnection.dispatch (C:\Windows\SERVIC1\NETWOR1\AppData\Local\Temp\playwright-java-3725539109975965898\package\lib\server\dispatchers\dispatcher.js:375:15)
}
at com.microsoft.playwright.impl.Connection.dispatch(Connection.java:256)
at com.microsoft.playwright.impl.Connection.processOneMessage(Connection.java:211)
at com.microsoft.playwright.impl.ChannelOwner.runUntil(ChannelOwner.java:118)
at com.microsoft.playwright.impl.Connection.sendMessage(Connection.java:130)
at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:106)
at com.microsoft.playwright.impl.ChannelOwner.sendMessage(ChannelOwner.java:101)
at com.microsoft.playwright.impl.BrowserContextImpl.newPageImpl(BrowserContextImpl.java:459)
at com.microsoft.playwright.impl.BrowserContextImpl.lambda$newPage$13(BrowserContextImpl.java:452)
at com.microsoft.playwright.impl.LoggingSupport.withLogging(LoggingSupport.java:47)
at com.microsoft.playwright.impl.ChannelOwner.withLogging(ChannelOwner.java:89)
at com.microsoft.playwright.impl.BrowserContextImpl.newPage(BrowserContextImpl.java:452)
at com.microsoft.playwright.impl.BrowserContextImpl.newPage(BrowserContextImpl.java:45)
at com.factory.WebDriverUtils.setPage(WebDriverUtils.java:21)
at com.factory.WebDriverUtils.getPage(WebDriverUtils.java:47)
at com.factory.steps.StepDefinitions.before(StepDefinitions.java:26)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaHookDefinition.execute(JavaHookDefinition.java:64)
at io.cucumber.core.runner.CoreHookDefinition.execute(CoreHookDefinition.java:46)
at io.cucumber.core.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:21)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at io.cucumber.core.runner.TestCase.run(TestCase.java:78)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at java.base/java.util.concurrent.RecursiveAction.exec(RecursiveAction.java:189)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Additional context

No response

Environment

System:
    OS: Windows 10 10.0.20348
    CPU: (12) x64 Intel(R) Xeon(R) Platinum 8480+
    Memory: 42.61 GB / 48.00 GB
  Binaries:
    Node: 22.3.0 - C:\node\node.EXE
    npm: 10.8.1 - C:\node\npm.CMD
@pavelfeldman
Copy link
Member

Your browser is running out of memory or out of handles when trying to allocate a bitmap:

https://source.chromium.org/chromium/chromium/src/+/main:ui/views/win/hwnd_message_handler.cc;l=2515;drc=3e02eb658e84b46ebb53667e0a1cb52fe53b5f87;bpv=1;bpt=1

What is the host system resolution? --start-maximized might be too much for it to handle.

@drsnkrt
Copy link
Author

drsnkrt commented Jun 27, 2024

it's 800*600
it use max 14 gb ram when test running. it's not out of memory error. It has 48gb ram

@pavelfeldman
Copy link
Member

Not sure what it happening then - OS refuses to return a display handle to the browser. Being able to reproduce it would help, otherwise there isn't much we can do about it. If you are doing a lot of things with one browser, try recycling it - maybe you run out of handles over time.

@pavelfeldman
Copy link
Member

I'm going to close it as non-actionable on our side since there are no other reports similar to yours and there is no way for us to repro it.

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

2 participants