Skip to content

Commit

Permalink
add encode method (alias of encoded)
Browse files Browse the repository at this point in the history
  • Loading branch information
saadtazi committed Sep 10, 2016
1 parent bd26148 commit c1a2a37
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,7 @@
# 0.4.2

* add `encode` method to make it compatible with `selenium-webdriver`

# 0.4.1

* fix CLI empty profile creation
Expand Down
3 changes: 3 additions & 0 deletions lib/firefox_profile.js
Expand Up @@ -443,6 +443,9 @@ var ffValues = {
'system': 3
};

// for compatibility with `selenium-webdriver`
FirefoxProfile.prototype.encode = FirefoxProfile.prototype.encoded;

/**
* Set network proxy settings.
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "firefox-profile",
"version": "0.4.1",
"version": "0.4.2",
"description": "firefox profile for selenium WebDriverJs, admc/wd or any other node selenium driver that supports capabilities",
"main": "lib/firefox_profile",
"directories": {
Expand Down

0 comments on commit c1a2a37

Please sign in to comment.