class AutomationHelpers::Patches::Capybara

Private Instance Methods

description() click to toggle source
# File lib/automation_helpers/patches/capybara.rb, line 8
      def description
        <<~DESCRIPTION
          There is a bug in the #text method as Safari's w3c conformant endpoint isn't w3c conformant.

          See https://github.com/teamcapybara/capybara/issues/2213 for more details.
        DESCRIPTION
      end
perform() click to toggle source
# File lib/automation_helpers/patches/capybara.rb, line 16
def perform
  ::Capybara::Node::Element.prepend SafariTextPatch
end