
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.