2018-10-04 02:39:39 +02:00
|
|
|
const Page = require('./page');
|
2018-10-02 22:15:02 +02:00
|
|
|
|
2018-10-04 02:39:39 +02:00
|
|
|
class HomePage extends Page {
|
2018-10-02 22:15:02 +02:00
|
|
|
constructor() {
|
|
|
|
super();
|
|
|
|
this.legalSectionLinks = '.legalSection .legalSection__link';
|
|
|
|
this.readyToSendLocator = 'div#page-one button.btn';
|
|
|
|
this.socialLinksLocator = '.socialSection__link';
|
|
|
|
}
|
|
|
|
|
|
|
|
get legalLinks() {
|
|
|
|
return this.legalSectionLinks;
|
|
|
|
}
|
|
|
|
|
|
|
|
get readyToSend() {
|
|
|
|
return this.readyToSendLocator;
|
|
|
|
}
|
|
|
|
|
|
|
|
get socialLinks() {
|
|
|
|
return this.socialLinksLocator;
|
|
|
|
}
|
|
|
|
}
|
2018-10-04 02:39:39 +02:00
|
|
|
module.exports = HomePage;
|