Skip to content

Commit

Permalink
[rb] fix documentation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Dec 27, 2023
1 parent e8e6300 commit 776c9f7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions rb/lib/selenium/webdriver/common/action_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ class ActionBuilder
# correctly when using asynchronous.
#
# @param [Selenium::WebDriver::Remote::Bridge] bridge the bridge for the current driver instance.
# @param [Boolean] deprecated_async Whether to perform the actions asynchronously per device.
# Defaults to false for backwards compatibility.
# @param [Array<Selenium::WebDriver::Interactions::InputDevices>] devices list of valid sources of input.
# @param [Boolean] async Whether to perform the actions asynchronously per device.
# @return [ActionBuilder] A self reference.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ def pointer_up(button = :left, device: nil, **opts)
# element. A negative value means coordinates to the left of the center.
# @param [Integer] down_by Optional offset from the in-view center of the
# element. A negative value means coordinates to the top of the center.
# @param [Symbol || String] device optional name of the PointerInput device to move.
# @return [ActionBuilder] A self reference.
#

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ def default_scroll_duration
# el = driver.find_element(id: "some_id")
# driver.action.scroll_to(element).perform
#
# @param [Object] Which element to scroll into the viewport.
# @param [Object] element Which element to scroll into the viewport.
# @param [Object] device Which device to use to scroll
# @return [Selenium::WebDriver::WheelActions] A self reference.
def scroll_to(element, device: nil)
scroll(origin: element, device: device)
Expand Down

0 comments on commit 776c9f7

Please sign in to comment.