Skip to content

sheac/serubyum

Repository files navigation

Serubyum

Selenium + Ruby = Se-Ruby-ummmmmm...

Usage

Start with a Session, and go to the URL you need to test:

session = Serubyum.new_session.go("www.google.com")

From here, you can grab the title from the page:

# not fetched yet...
session.title
# => nil

title = session.fetch_title
# => "Google"

# fetched!
session.title
# => "Google"

Or you can grab an element from the page:

element = session.get_element( using: "css selector", value: "input#lst-ib.gsfi" )

Coming Soon!

Click on an element!

element.click()

About

A rad new Ruby client for Selenium

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published