-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Hi,
I'm making good use of this module but can I suggest the following changes are added to the documentation:
- Regarding the promises as documented in the Selenium Webdriver JS documentation (on Google Code), they say to create a promise as follows:
var deferred = webdriver.promise.defer();
This is incorrect and I could not get it working. From looking at your source code it seems the following is correct:
var deferred = new webdriver.promise.Deferred();
- In the Selenium Webdriver documentation (on Google Code), we are told to call the following to resolve a promise:
deferred.fulfill();
This is incorrect and the following should instead be called:
deferred.resolve();
Hope this helps others who have been stuck with these problems.
Thanks,
Matt
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels