Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alixaxel committed May 19, 2020
1 parent 9582073 commit 066b7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/puppeteer/lib/Page.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Super.prototype.go = async function (url, options = null) {
* @param {string} [property='textContent'] - Element property to extract content from.
* @returns {Promise<number[] | number | null>}
*/
Super.prototype.number = function (selector, decimal = null, index = null, property = 'textContent') {
Super.prototype.number = function (selector, decimal = '.', index = null, property = 'textContent') {
return this.mainFrame().number(selector, decimal, index, property);
};

Expand Down

0 comments on commit 066b7c2

Please sign in to comment.