RSS Amplifier

Ilya Bylich - Blog · Jul 1, 2015

Capybara and asynchronous stuff

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

What is Capybara, Poltergeist and PhantomJS? # In this part I will try to cover the following aspects: Running asynchronous code in a web driver Making the call synchronous Wrapping it into some common solution Advanced example - working with IndexedDB from Capybara PhantomJS # First of all, we need to know what is PhantomJS. I would say it’s a ’tool that acts like a browser but can be…

What is Capybara, Poltergeist and PhantomJS? #

In this part I will try to cover the following aspects:

  1. Running asynchronous code in a web driver
  2. Making the call synchronous
  3. Wrapping it into some common solution
  4. Advanced example - working with IndexedDB from Capybara

PhantomJS #

First of all, we need to know what is PhantomJS. I would say it’s a ’tool that acts like a browser but can be controlled from outside using simple command interface’. In more common words, it’s a web driver. It’s a full-featured WebKit (an engine of Chrome/Safari/few last versions of Opera and other browsers), but in console. You can use it for scripting, automating or testing.

Read on /2015-07-01-capybara-and-asynchronous-stuff/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.