Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Ruby snippets by Sergey Blohin
Selenium WebDriver for Ruby
Ruby
0
1
1573
Get browser's logs in Selenium
Ruby
0
1
1325
Close browser after exception
Ruby
0
9
1258
Add test to quarantine in RSpec
Ruby
0
9
1532
Benchmark for require vs. Kernel.send :require
Ruby
0
1
1100
Extract integer from string
Ruby
0
1
1240
typograf.rb
Ruby
0
2
1270
Selenium WebDriver Element by ID
Ruby
0
1
1180
Work with DOM elements in Ruby Selenium-WebDriver
Ruby
0
9
1392
Write to file
Ruby
0
1
1077
Check valid email for Yandex
Ruby
0
2
1768
Remove all non numeric characters
Ruby
0
0
1097
Local IP
Ruby
0
0
1287
To toss a coin and execute the code ... or not ...
Ruby
0
0
1018
Get access_token for VK API
Ruby
0
0
1564
Interactive Progress Bar
Ruby
0
0
1140