Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make getAvailableLogTypes() compatible with W3C Protocol #1103

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

Open
Florent-QE opened this issue Jul 24, 2024 · 0 comments
Open

Make getAvailableLogTypes() compatible with W3C Protocol #1103

Florent-QE opened this issue Jul 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Florent-QE
Copy link

Florent-QE commented Jul 24, 2024

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 debugWebDriverLogs

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

Chrome

Operating system

MacOS

Additional context

No response

@Florent-QE Florent-QE added the bug Something isn't working label Jul 24, 2024
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