Skip to content

Commit

Permalink
Merge pull request #2608 from luke-hill/patch-1
Browse files Browse the repository at this point in the history
Update minor text/link issue in warning for FirefoxNode
  • Loading branch information
twalpole authored Nov 4, 2022
2 parents be0d533 + 03611a3 commit c58bc3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/selenium/nodes/firefox_node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def click(keys = [], **options)
rescue ::Selenium::WebDriver::Error::ElementNotInteractableError
if tag_name == 'tr'
warn 'You are attempting to click a table row which has issues in geckodriver/marionette - ' \
'see https://github.com/mozilla/geckodriver/issues/1228. Your test should probably be ' \
'see https://github.com/mozilla/geckodriver/issues/1228 - Your test should probably be ' \
'clicking on a table cell like a user would. Clicking the first cell in the row instead.'
return find_css('th:first-child,td:first-child')[0].click(keys, **options)
end
Expand Down

0 comments on commit c58bc3b

Please sign in to comment.