Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions advanced_topics/01_debugging_with_save_and_open/Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
source 'https://rubygems.org'

gem 'capybara', '~> 3.13', '>= 3.13.2' # Released: January 24, 2019
gem 'rspec', '~> 3.8' # Released: August 4, 2018
gem 'selenium-webdriver', '~> 3.141' # Released: November 1, 2018
gem 'launchy', '~> 2.4', '>= 2.4.3' # Released November 3, 2014
gem 'ffi', '~> 1.11', '>= 1.11.3'
gem 'capybara' # Released: January 24, 2019
gem 'rexml'
gem 'rspec'# Released: August 4, 2018
gem 'selenium-webdriver'# Released: November 1, 2018
gem 'launchy'# Released November 3, 2014
gem 'ffi'
87 changes: 45 additions & 42 deletions advanced_topics/01_debugging_with_save_and_open/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,61 +1,64 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
capybara (3.28.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
capybara (3.39.2)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.5)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (1.0.1)
rake (< 13.0)
diff-lcs (1.3)
ffi (1.12.2)
launchy (2.4.3)
addressable (~> 2.3)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
public_suffix (3.1.1)
rack (2.0.7)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (12.3.3)
regexp_parser (1.6.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.2)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.4)
diff-lcs (1.5.0)
ffi (1.16.2)
launchy (2.5.2)
addressable (~> 2.8)
matrix (0.4.2)
mini_mime (1.1.5)
nokogiri (1.15.4-x86_64-darwin)
racc (~> 1.4)
public_suffix (5.0.3)
racc (1.7.1)
rack (3.0.8)
rack-test (2.1.0)
rack (>= 1.3)
regexp_parser (2.8.1)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.1)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
rubyzip (1.3.0)
selenium-webdriver (3.142.3)
childprocess (>= 0.5, < 2.0)
rubyzip (~> 1.2, >= 1.2.2)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubyzip (2.3.2)
selenium-webdriver (4.13.1)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
websocket (1.2.10)
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby
x86_64-darwin-22

DEPENDENCIES
capybara (~> 3.13, >= 3.13.2)
ffi (~> 1.11, >= 1.11.3)
launchy (~> 2.4, >= 2.4.3)
rspec (~> 3.8)
selenium-webdriver (~> 3.141)
capybara
ffi
launchy
rexml
rspec
selenium-webdriver

BUNDLED WITH
1.17.2
2.4.20
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
visit '/'
end

scenario 'save_and_open_page' do
scenario 'Save and Open Page' do
save_and_open_page
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
visit '/'
end

scenario 'save_and_open_screenshot' do
scenario 'Save and Open Screenshot' do
save_and_open_screenshot
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Bundler.setup(:default)
Bundler.require

Capybara.default_driver = :selenium_chrome
Capybara.default_driver = :selenium
Capybara.app_host = 'https://the-internet.herokuapp.com'
Capybara.default_max_wait_time = 10

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<html class="no-js" lang="en"><!--<![endif]--><head>
<script src="/js/vendor/298279967.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>The Internet</title>
<link href="/css/app.css" rel="stylesheet">
<link href="/css/font-awesome.css" rel="stylesheet">
<script src="/js/vendor/jquery-1.11.3.min.js"></script>
<script src="/js/vendor/jquery-ui-1.11.4/jquery-ui.js"></script>
<script src="/js/foundation/foundation.js"></script><meta class="foundation-mq-small"><meta class="foundation-mq-medium"><meta class="foundation-mq-large"><style></style>
<script src="/js/foundation/foundation.alerts.js"></script>
<script>
$(document).foundation();
</script>
</head>
<body>
<div class="row">
<div id="flash-messages" class="large-12 columns">







</div>
</div>
<div class="row">
<a href="https://github.com/tourdedave/the-internet"><img style="position: absolute; top: 0; right: 0; border: 0;" src="/img/forkme_right_green_007200.png" alt="Fork me on GitHub"></a>
<div id="content" class="large-12 columns">
<style>
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
</style>
<h1 class="heading">Welcome to the-internet</h1>
<h2>Available Examples</h2>
<ul>
<li><a href="/abtest">A/B Testing</a></li>
<li><a href="/add_remove_elements/">Add/Remove Elements</a></li>
<li><a href="/basic_auth">Basic Auth</a> (user and pass: admin)</li>
<li><a href="/broken_images">Broken Images</a></li>
<li><a href="/challenging_dom">Challenging DOM</a></li>
<li><a href="/checkboxes">Checkboxes</a></li>
<li><a href="/context_menu">Context Menu</a></li>
<li><a href="/digest_auth">Digest Authentication</a> (user and pass: admin)</li>
<li><a href="/disappearing_elements">Disappearing Elements</a></li>
<li><a href="/drag_and_drop">Drag and Drop</a></li>
<li><a href="/dropdown">Dropdown</a></li>
<li><a href="/dynamic_content">Dynamic Content</a></li>
<li><a href="/dynamic_controls">Dynamic Controls</a></li>
<li><a href="/dynamic_loading">Dynamic Loading</a></li>
<li><a href="/entry_ad">Entry Ad</a></li>
<li><a href="/exit_intent">Exit Intent</a></li>
<li><a href="/download">File Download</a></li>
<li><a href="/upload">File Upload</a></li>
<li><a href="/floating_menu">Floating Menu</a></li>
<li><a href="/forgot_password">Forgot Password</a></li>
<li><a href="/login">Form Authentication</a></li>
<li><a href="/frames">Frames</a></li>
<li><a href="/geolocation">Geolocation</a></li>
<li><a href="/horizontal_slider">Horizontal Slider</a></li>
<li><a href="/hovers">Hovers</a></li>
<li><a href="/infinite_scroll">Infinite Scroll</a></li>
<li><a href="/inputs">Inputs</a></li>
<li><a href="/jqueryui/menu">JQuery UI Menus</a></li>
<li><a href="/javascript_alerts">JavaScript Alerts</a></li>
<li><a href="/javascript_error">JavaScript onload event error</a></li>
<li><a href="/key_presses">Key Presses</a></li>
<li><a href="/large">Large &amp; Deep DOM</a></li>
<li><a href="/windows">Multiple Windows</a></li>
<li><a href="/nested_frames">Nested Frames</a></li>
<li><a href="/notification_message">Notification Messages</a></li>
<li><a href="/redirector">Redirect Link</a></li>
<li><a href="/download_secure">Secure File Download</a></li>
<li><a href="/shadowdom">Shadow DOM</a></li>
<li><a href="/shifting_content">Shifting Content</a></li>
<li><a href="/slow">Slow Resources</a></li>
<li><a href="/tables">Sortable Data Tables</a></li>
<li><a href="/status_codes">Status Codes</a></li>
<li><a href="/typos">Typos</a></li>
<li><a href="/tinymce">WYSIWYG Editor</a></li>
</ul>

</div>
</div>
<div id="page-footer" class="row">
<div class="large-4 large-centered columns">
<hr>
<div style="text-align: center;">Powered by <a target="_blank" href="http://elementalselenium.com/">Elemental Selenium</a></div>
</div>
</div>


</body></html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions advanced_topics/02_chrome_logging/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source 'https://rubygems.org'

gem 'capybara', '~> 3.13', '>= 3.13.2'
gem 'rspec', '~> 3.8'
gem 'selenium-webdriver', '~> 3.141'
gem 'ffi', '~> 1.11', '>= 1.11.3'
gem 'capybara'
gem 'rspec'
gem 'selenium-webdriver'
gem 'ffi'
gem 'rexml'
81 changes: 42 additions & 39 deletions advanced_topics/02_chrome_logging/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,58 +1,61 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
capybara (3.28.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
capybara (3.39.2)
addressable
matrix
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.5)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
childprocess (1.0.1)
rake (< 13.0)
diff-lcs (1.3)
ffi (1.12.2)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
public_suffix (3.1.1)
rack (2.0.7)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rake (12.3.3)
regexp_parser (1.6.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.2)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.4)
diff-lcs (1.5.0)
ffi (1.16.2)
matrix (0.4.2)
mini_mime (1.1.5)
nokogiri (1.15.4-x86_64-darwin)
racc (~> 1.4)
public_suffix (5.0.3)
racc (1.7.1)
rack (3.0.8)
rack-test (2.1.0)
rack (>= 1.3)
regexp_parser (2.8.1)
rexml (3.2.6)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.1)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.2)
rubyzip (1.3.0)
selenium-webdriver (3.142.3)
childprocess (>= 0.5, < 2.0)
rubyzip (~> 1.2, >= 1.2.2)
rspec-support (~> 3.12.0)
rspec-support (3.12.1)
rubyzip (2.3.2)
selenium-webdriver (4.13.1)
rexml (~> 3.2, >= 3.2.5)
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
websocket (1.2.10)
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby
x86_64-darwin-22

DEPENDENCIES
capybara (~> 3.13, >= 3.13.2)
ffi (~> 1.11, >= 1.11.3)
rspec (~> 3.8)
selenium-webdriver (~> 3.141)
capybara
ffi
rexml
rspec
selenium-webdriver

BUNDLED WITH
1.17.2
2.4.20
11 changes: 6 additions & 5 deletions advanced_topics/03_apparition_driver/Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
source 'https://rubygems.org'

gem 'capybara', '~> 3.13', '>= 3.13.2'
gem 'rspec', '~> 3.8'
gem 'apparition', github: 'twalpole/apparition'
gem 'selenium-webdriver', '~> 3.141'
gem 'ffi', '~> 1.11', '>= 1.11.3'
gem 'capybara', '~> 3.39', '>= 3.39.2' # June 10, 2023
gem 'rspec', '~> 3.12' # October 26, 2022
gem 'apparition', '~> 0.6.0', github: 'twalpole/apparition'
gem 'selenium-webdriver', '~> 4.13', '>= 4.13.1' # September 26, 2023
gem 'ffi', '~> 1.16', '>= 1.16.2' # September 25, 2023
gem 'rexml', '~> 3.2', '>= 3.2.6' # July 27, 2023
Loading