From a41413a00c5044b17a069d78aaeb99491dfa4ce5 Mon Sep 17 00:00:00 2001 From: akuzmenok Date: Wed, 21 Jun 2017 15:26:14 +0200 Subject: [PATCH] added then() description --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 5d850b7..3555513 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,10 @@ Accepts an `options` object with the next keys: `.style(selector, styleName, callback(styleValue))` find the specified selector and get its style value. Useful when inline styles specified. +**`then`** + +`.then(callback)` runs a `callback` when the previous steps are done. + **`title`** `.title(callback(title))` get the document title and run the callback. Synchronous is `.getTitle`.