In my framework, I have a page xyz whose element properties are defined in xyz.page.js
get logInPromptWindow() {
return browser.element("//div[contains(@class,'abcdef')]");
}
and
logInPromptWindow() {
return browser.element("//div[contains(@class,'abcdef')]");
}
- Is there any purpose for using "get"?
- Will both these elements considered as different elements?