23 lines
474 B
JavaScript
23 lines
474 B
JavaScript
|
import Page from './page';
|
||
|
|
||
|
export default class HomePage extends Page {
|
||
|
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;
|
||
|
}
|
||
|
}
|