Skip to content

Conversation

@mei-kyoseva
Copy link
Collaborator

@mei-kyoseva mei-kyoseva commented Jul 15, 2024

Drivers and browsers are now correctly disposed of when test execution is abruptly interrupted, such as during debugging, manual termination, or browser closure failure.
Changes affect Selenium and Playwright modules.

Its purpose is to register Runnable script to be performed after shutdown is initiated.
Notable uses would be to register for closure resources that should be closed.
They are no longer static and register themselves for automatic closure after shutdown.
"webSettings": {
"baseUrl": "http://demos.bellatrix.solutions/",
"executionType":"regular",
"executionType":"regular",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert

"webSettings": {
"baseUrl": "http://demos.bellatrix.solutions/",
"executionType":"regular",
"executionType":"regular",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

revert

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an intended change, but a result of this commit: 7c02244
Since then, the added option in that commit was removed and this is what remained.

Reverted.

@n1xan
Copy link
Collaborator

n1xan commented Jan 15, 2025

Please add description with the problems you are trying to solve with the PR and which projects does it affect e.g. Playwright/Selenium?

// launchOptions.setArgs(List.of("--log-level=3"));
// System.setProperty("webdriver.chrome.silentOutput", "true"); ?

return browser(browserType.launch(launchOptions));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting is a bit messed up

@mei-kyoseva mei-kyoseva merged commit 5e96d5c into main Jan 23, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

3 participants