Getter and Non-Getter methods in Page Class - Part - 6
Vložit
- čas přidán 23. 08. 2024
- #webdriverio #nodejs #javascript #automation
In this video, I have explained how to create non getter methods in Page class in WebDriverIO.
Learn:
- how to create page objects in WebDriverIO
- how to create getter and non getter methods in page class
- get the child element using index
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
www.youtube.co...
Follow me on my Facebook Page:
/ naveenqtpexpert
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
t.me/joinchat/...
Paid courses (Recorded) videos:
Java & Selenium Course: www.naveenautom...
API Course: www.naveenautom...
Superb!
Nice video Naveen 👍
Your Tutorial are Awesome , A kind request - could u upload your tutorial project code in any repository for our reference.
here you go : github.com/naveenanimation20/WebDriverIO-JavaScriptCode
Thanks Naveen
Hi Naveen,
this code is executed successfully, however the text is not getting displayed on terminal. there are no xpath errors also
yes even i am facing the same issue
Hi naveen,
How to Automate the download and cancel using webdriverio and how we can assert the downloaded file name.
Thank you for the video.
Could you please provide me your comments on the following?
1. Why do we use getters in the page object classes?
2. Can I use something like this?
getMeTheLocatorAtIndext( index ) {
return $(`~some-locator-at-${index}-accessibility-id`);
}
Hi Naveen,
Facing issue to work on webdriveIO with typescript . If you or anyone else help me in any communication way to set up typescript with webdriverIO then it would be great.
code executed successfully but results are not printing on the console
can I get a solution for my issue?
Guys any one pls tell me whether node js will run in Internet explorer browser.
i want to know how to configure ie driver in webdriverio can u please help me