Closed ydah closed 6 months ago
There are some debugging methods in capybara, but it would be nice to have a way to detect the use of these methods.
# bad save_and_open_page # bad page.save_screenshot('screenshot.png') # bad save_and_open_screenshot
be similar to: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/Debugger
It was found unnecessary because it was already covered below. https://docs.rubocop.org/rubocop/cops_lint.html#lintdebugger
There are some debugging methods in capybara, but it would be nice to have a way to detect the use of these methods.
be similar to: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/Debugger