Skip to content

[🐛 Bug]: ArgumentError at lib/selenium/webdriver/common/logger.rb:51:in initialize - wrong number of arguments (given 2, expected 0..1) #12239

@Valentyna

Description

@Valentyna

What happened?

Seeing attached error since selenium-webdriver 4.9
Screenshot 2023-06-21 at 8 56 02 PM

How can we reproduce the issue?

>> brew upgrade
>> brew install rbenv ruby-build
>> rbenv install 3.2.0
>> gem install selenium-webdriver
>> irb
>>>> require 'selenium-webdriver'
>>>> driver=Selenium::WebDriver.for :firefox

Relevant log output

ArgumentError: wrong number of arguments (given 2, expected 0..1)
from /Users/vakalini/.rvm/gems/ruby-3.2.0/gems/selenium-webdriver-4.10.0/lib/selenium/webdriver/common/logger.rb:51:in `initialize'

Operating System

Mac 13.4; Debian bullseye

Selenium version

Ruby 3.2.0

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

Chrome, Firefox

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

ChromeDriver 112, geckodriver

Are you using Selenium Grid?

no

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intendedJ-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions