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

The EdgeWebDriver does not properly handle signals such as SIGTERM and SIGINT, resulting in sessions not being cleaned up correctly. #152

Open
bukowa opened this issue Jul 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bukowa
Copy link

bukowa commented Jul 4, 2024

Expected Behavior:

When a SIGTERM or SIGINT signal is received (for example, when terminating the WebDriver process gracefully), EdgeWebDriver should properly clean up all active sessions and resources associated with them.

Actual Behavior:

Currently, sending a SIGTERM or SIGINT signal to EdgeWebDriver does not ensure that all sessions are cleaned up correctly. This can lead to resource leaks and inconsistent behavior when running multiple test sessions sequentially. The underlying binaries and their webviews are not killed.

Steps to Reproduce:

Start EdgeWebDriver and initiate one or more WebDriver sessions.
Send a SIGTERM or SIGINT signal to EdgeWebDriver (e.g., using kill command on Unix-like systems or closing the process on Windows).
Observe whether all WebDriver sessions and associated resources are properly cleaned up or if some sessions remain active.

Additional Information:

EdgeWebDriver version: 126.0.2592.81 (38151611195b9357be892bf1ae5c4b7942a1b216)

Proposed Solution:

Ensure that EdgeWebDriver gracefully handles SIGTERM and SIGINT signals to properly clean up all WebDriver sessions and associated resources before exiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant