diff --git a/src/pageObject.js b/src/pageObject.js index 2615065b..9dffafcb 100644 --- a/src/pageObject.js +++ b/src/pageObject.js @@ -19,8 +19,7 @@ class PageObject { class ArticlePage extends PageObject { constructor(url, slug) { - super(url); - this.url = this.url + slug; + super(url + slug); } get commentButton() {