To Download the chrome driver for 64 bit OS
wget -N http://chromedriver.storage.googleapis.com/2.21/chromedriver_linux64.zip -P ~/Downloads
Unzip the file
unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
menu_parsed_html.css('.category').each do |x| | |
puts x.css('.categoryName').text | |
puts "===========================" | |
x.css('.product').each do |product_name| | |
puts product_name.css('.name').text | |
end | |
end |
<form id="tfnewsearch" method="get" action="http://gemstrike.com/vendor/index"> | |
<input type="text" class="tftextinput" name="quick_search" size="21" maxlength="120"> | |
<input type="submit" value="search" class="tfbutton"> | |
</form> |
I, [2015-06-29T11:13:42.169893 #36] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' | |
rake aborted! | |
I18n::InvalidLocale: "ta" is not a valid locale | |
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n.rb:284:in `enforce_available_locales!' | |
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n/config.rb:13:in `locale=' | |
/var/www/discourse/vendor/bundle/ruby/2.0.0/gems/i18n-0.7.0/lib/i18n.rb:35:in `locale=' | |
/var/www/discourse/lib/tasks/db.rake:3:in `block in <top (required)>' | |
Tasks: TOP => db:migrate => set_locale | |
(See full trace by running task with --trace) | |
I, [2015-06-29T11:13:54.725109 #36] INFO -- : |
<div class="modal fade" id= "step2-alert" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> | |
<div class="modal-dialog modal-size"> | |
<div class="modal-content"> | |
<div class="modal-header center"> | |
<i class="icon-warning-sign bigger-200"></i> | |
<h4></h4> | |
<button type="button" class="close" data-dismiss="modal" aria-hidden="true"> | |
<span>×</span> | |
</button> | |
</div> |
<header class="nav"> | |
<div class="container"> | |
<div class="row mobile_none"> | |
<div class="col-sm-12 col-md-12 col-lg-12"> | |
<div class="logo"> | |
<%= link_to image_tag("240nab.png"), '/' , :alt => "nabthat" %> | |
</div> | |
<div class="menu-list"> | |
<ul class="menu-item"> | |
<li> |