-
Notifications
You must be signed in to change notification settings - Fork 849
Description
Bug description
The available function getAvailableLogTypes is implemented and available but does not work with the W3C Protocol.
I understand its implementation is not completed for the W3C Protocol, but could we find a workaround to use it in this module? I am unsure if log types are user-defined or browser-defined. If it's the latter, perhaps we could return a list of known possible log types directly.
I reproduced it using the Codeception/module-webdriver implementation of a function called https://github.com/Codeception/module-webdriver/blob/68bd12857f2b3321d3114c3c87c9ad9345b3bd5e/src/Codeception/Module/WebDriver.php#L660
How could the issue be reproduced
// Extracted from codeception module (link above)
$logs = $this->webDriver->manage()->getAvailableLogTypes();
foreach ($logs as $logType) {
// Do my stuff here
}Expected behavior
I would like the function to return log types, or be deprecated with a clear message and a workaround if possible.
Php-webdriver version
1.15.1
PHP version
8.3.6
How do you start the browser driver or Selenium server
Selenium in Docker
Selenium server / Selenium Docker image version
selenium/hub:4.22 selenium/node-chromium:4.22
Browser driver (chromedriver/geckodriver...) version
No response
Browser name and version
No response
Operating system
No response
Additional context
No response