capybara icon indicating copy to clipboard operation
capybara copied to clipboard

Docs for Capybara::Node::Element#click not created correctly

Open sbungartz opened this issue 4 months ago • 0 comments

Hi, thanks for maintaining this fantastic library!

I just noticed a little issue with the Documentation of the Capybara::Node::Element#click-Method, where some information is present in the docstring but does not get rendered to the Rubydoc documentation. I'm not too familiar with the syntax, but I could imagine this to be a quick fix.

Meta

Capybara Version: master

Expected Behavior

The information about the :x and :y options that is present in the docstring (referencing the differences in behaviour depending on the w3c_click_offset setting) should show up in the generated rubydoc documentation.

Docstring here: https://github.com/teamcapybara/capybara/blob/34493f0386d8f7f7963eab58a3f416dfacfc9028/lib/capybara/node/element.rb#L155-L169

Actual Behavior

Options :x and :y are not shown in rubydoc at https://rubydoc.info/github/teamcapybara/capybara/master/Capybara/Node/Element#click-instance_method

image

sbungartz avatar Oct 07 '24 08:10 sbungartz