Skip to content

Commit

Permalink
Update minor text/link issue in warning for FirefoxNode
Browse files Browse the repository at this point in the history
When using CI systems, this auto-converts into a link. But appends the `.` at the end. So I've just removed it.
  • Loading branch information
luke-hill committed Nov 2, 2022
1 parent 2d05c20 commit 03611a3
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 03611a3

Please sign in to comment.