
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Scrolling API for Watir.
Add this line to your application's Gemfile:
gem 'watir-scroll'
And then execute:
$ bundle
Or install it yourself as:
$ gem install watir-scroll
browser.scroll.to :top # scrolls to the top of the page
browser.scroll.to :center # scrolls to the center of the page
browser.scroll.to :bottom # scrolls to the bottom of the page
browser.scroll.to [10, 10] # scrolls to coordinates x and y
browser.scroll.by 10, 10 # scrolls to left and down by 10 pixels
browser.scroll.by -10, -10 # scrolls to right and top by 10 pixels
You can also chain the calls:
browser.scroll.to(:top).by(0, 100) # scrolls to the top of the page and 100 pixels down
button = browser.button(text: 'Click')
button.scroll.to # scrolls element to the top
button.scroll.to :center # scrolls element to the center
button.scroll.to :bottom # scrolls element to the bottom
button.scroll.by 10, 10 # scrolls to left and down by 10 pixels
button.scroll.by -10, -10 # scrolls to right and top by 10 pixels
You can also chain the calls:
button.scroll.to.by(0, 100) # scrolls to the button and 100 pixels down
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that watir-scroll demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.