Skip to content

[🐛 Bug]: Performance issue in case of performance logs enabled in chrome #12225

@sparsh00

Description

@sparsh00

What happened?

After the changes made in #11973 jar spawning is not adding the --log-path= flag to Chrome in the normal flow. Need to enable the readableTimestamp or appendLog flag to get it working https://github.com/SeleniumHQ/selenium/pull/11973/files#diff-405c68a6b743ea8f4b340b5ea0c92c802a24109b4c38818335f6ca39511e2bc8R385.
What is has caused is that the chromedriver logs are append to file while going through jar causing performance issues.

How can we reproduce the issue?

Run session on Chrome while adding logging params and opening heavy websites like Pinterest
"goog:loggingPrefs": {
  "driver": "ALL",
  "browser": "SEVERE",
  "performance": "ALL",
  "server": "ALL"
}

Relevant log output

No direct logging of chromedriver flags in selenium logs found by looking around after facing performance issue.

Operating System

Windows 10

Selenium version

4.9.1

What are the browser(s) and version(s) where you see this issue?

Chrome latest

What are the browser driver(s) and version(s) where you see this issue?

Chromedriver related to the chrome version

Are you using Selenium Grid?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions