dequelabs / axe-core-gems

Ruby integration for axe-core, the accessibility testing engine
https://deque.com/axe
Mozilla Public License 2.0
85 stars 29 forks source link

Error "unrecognised option moz:debuggerAddress (Selenium::WebDriver::Error::InvalidArgumentError)" is shown when tried to run tests on Windows-Firefox #304

Closed SantoshDeque closed 1 year ago

SantoshDeque commented 1 year ago

Issue: Below error is shown, when configured 'Firefox' as browser. It is happening only in Windows. It is happening with rpsec-selenium/capybara/watir and Cucumber-capybara/selenium/watir

Steps to reproduce: 1)Clone the release branch(release-2023-04-19) and navigate to packages/axe-core-cucumber/e2e/watir(Same is happening with rpsec-selenium/capybara/watir and Cucumber-capybara/selenium also) 2)In 'env.rb' file make sure that "Firefox" is configured as shown below

Before do
  # configure AxeWatir
  @driver = AxeWatir.configure(:firefox) do |c|
  end
end

3)Now run the tests

Actual Result: Error "unrecognised option moz:debuggerAddress (Selenium::WebDriver::Error::InvalidArgumentError)" is shown

Expected Result: Test should run successfully without any errors

padmavemulapati commented 1 year ago

Validated on Windows with the latest develop branch code base, it is working as expectec. Tests are successfully on Firefox .