Skip to content

[rb] allow users to direct driver process output#11964

Merged
titusfortner merged 1 commit intotrunkfrom
rb_service_log
Apr 28, 2023
Merged

[rb] allow users to direct driver process output#11964
titusfortner merged 1 commit intotrunkfrom
rb_service_log

Conversation

@titusfortner
Copy link
Member

Description

Allow users to specify where driver log output goes

Motivation and Context

Currently output is discarded unless the logger level is set to :debug, then all the driver logs are included in the all the Selenium logs

Examples:

Selenium::WebDriver::Service.chrome(log: '/path/to/chromedriver.log')
Selenium::WebDriver::Service.chrome(log: :stdout)
Selenium::WebDriver::Service.chrome(log: :stderr, args: ['--verbose'])

@titusfortner titusfortner added the C-rb Ruby Bindings label Apr 27, 2023
@titusfortner titusfortner requested a review from p0deje April 27, 2023 21:21
@titusfortner titusfortner merged commit da2e767 into trunk Apr 28, 2023
@titusfortner titusfortner deleted the rb_service_log branch April 28, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-rb Ruby Bindings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants