Sample or Rails+Cybypara+PhantomJS usage

I need to use a headless browser (to set cookies, get a content of other websites and click buttons in this content) from Ruby on Rails app (in the main code, not in the tests).

I need a sample app which shows to use set of technologies together (so I don't have to figure it out on my own).

I am thinking about following stack.

Capybara ([url removed, login to view])

Poltergeist ([url removed, login to view])

PhantomJS as a headless browser ([url removed, login to view])

However, I would be happy if you can offer an alternative better stack.

My requirements are:

a) The main application should be in Ruby on Rails

b) The code should be able to set cookies, get content and click buttons on content

c) The code should work in headless browser (no visible browser should be started)

I need a sample Rails app which does following:

a) A user tries to access /URL1 and it should do following

Inject some cookie into Capybara

Use capybara to get /URL2

This /URL2 should redirect to /URL3 (I want to see how Capybara handles redirects)

The /URL3 should return some content including a button.

The code should click on the button

All these actions should be done synchronously (when a user opened /URL1).

I think, it make sense to implement /URL2 and /URL3 in Rails app. However, I am fine if you will fine any website which already have this pattern (some URL redirecting to another one which has a button).

I don't need a production quality code. I just need a sample. However, this sample should be reasonable (no crazy hacks).

I need this within several days from the moment when the project will be started.

Habilidades: Ruby on Rails

Veja mais: sample ruby application, ruby on rails websites, ruby on rails tests, ruby on rails org, ruby on rails app, return ruby on rails, how to make my website into an app, rails github, rails any, how to make my own app, how can i make my own app, github ruby on rails, phantomjs, poltergeist, headless browser ruby, redirecting https, http inject, headless browser, redirect https http, headless , browser stack, sample com application, ruby rails set, jquery javascript ruby rails sample code, rails app

Acerca do Empregador:
( 26 comentários ) Reston, United States

ID do Projeto: #6806101

10 freelancers estão ofertando em média $214 para esse trabalho


Hi, I would like to apply for this Ruby on Rails project. Please contact me if you have any questions. Best wishes, Sasha

$225 USD in 4 dias
(6 Comentários)

A proposal has not yet been provided

$277 USD in 3 dias
(4 Comentários)

Hi, Have gone through with the requirements you posted. We have been working as web developer for 5.2 years and I've helped various business from start-ups to established companies in building web applications, f Mais

$222 USD in 3 dias
(3 Comentários)

Hi If it is all about accessing a site via PhantomJS then may I know why do you need CapyBara here? do you want to automate test writing as well? Also, is it necessary to do it in Ruby? I have used PHantomJS alot Mais

$200 USD in 7 dias
(0 Comentários)

Hi, I am Ruby Programmer with 4 years of experience in web development. I have developed 20+ web application using Ruby, Ruby on Rails, Javascript, and TDD/BDD, Bootstrap. I have also experience in API development, Mais

$222 USD in 10 dias
(0 Comentários)

Hi, Capybara + PhantomJS is my preferred integration testing setup and I have a general idea on how to use it outside of tests because I've done it before. Have in mind though that all of the Capybara JS drivers Mais

$222 USD in 2 dias
(0 Comentários)

Hello, I am a professional ROR developer with an experience of more than 7 years working with several large scale projects with different versions of Rails and REST full style coding and with Heroku. I also had o Mais

$216 USD in 7 dias
(0 Comentários)

I have an experience with Capybara, JS engines and Xvfb. Can explain different choices to accomplish this task. But I'me not sure about capybara.. Maybe mechanize or something that does not require X window will be Mais

$222 USD in 3 dias
(0 Comentários)

Hi, Please correct me if my understanding is wrong 1. when a user visits URL1 of the Rails app from the his computer. 2. Then the Rails app will use Capybara to start a web browser on your Server machine (not on th Mais

$180 USD in 3 dias
(0 Comentários)

I have recently created some apps that use exactly this stack, so I can basically copy/paste the code to create the requested sample app.

$155 USD in 2 dias
(0 Comentários)