Hi I have been trying to access the links from webpage and click on them
and capture their web address.
I have done so far capturing the links.
page.links_with(:href => /^https?/).each do |link|
login_page=mechanize.click(page.link_with(:href => /^https?/))
puts(link.href)
end
but when I click on the licks I get below error
SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:
certificate verify failed (OpenSSL::SSL::SSLError)
./features/chat_content/step_definitions/launch-chat-unauth-step.rb:44:in
block (2 levels) in <top (required)>' ./features/chat_content/step_definitions/launch-chat-unauth-step.rb:43:in
each’
./features/chat_content/step_definitions/launch-chat-unauth-step.rb:43:in
/^Customer should see links "(.*?)" in footer$/' features\chat_content\launch-chat-unauth.feature:27:in
And Customer
should see links “Terms of Use,Protecting Your Privacy,Security,Site
Map” in footer’
Please help me resolve this
Thans
Geeta