OBA Website automated using playwright
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
719 B

exports.Feedback=
class Feedback {
constructor(page) {
this.page = page;
this.selectFeedbackType="//span[@class='flip-indecator']";
this.searchFeedback="//input[@id='oba_feedback_search']";
this.searchButton="//i[@class='fa fa-lg fa-fw fa-search']";
this.feedbackButton="//span[normalize-space()='Feedback']";
this.mailID="//td[normalize-space()='King@gmail.com']";
this.feedbackText="//td[normalize-space()='Trial Version']";
this.name="//td[normalize-space()='kalki']";
this.phone="//td[normalize-space()='919480111111']";
}
async clickFeedbackButton(){
await this.page.locator(this.feedbackButton).click();
}
}