filmov
tv
Selenium WebDriver Tutorial #16 - WebElement Methods in Selenium

Показать описание
In this Selenium Webdriver Tutorial we will learn about Webelement methods in Selenium Webdriver. You will learn about some of the key webelement commands/methods in Selenium Java along with examples.
Some of the key methods covered are:
✅ clear() - If this element is a text entry element, this will clear the value.
✅ click() - Click this element.
✅ getLocation() - Where on the page is the top left-hand corner of the rendered element?
✅ getSize() - What is the width and height of the rendered element?
✅ getTagName() - Get the tag name of this element.
✅ getText() - Get the visible text
✅ isDisplayed() - Is this element displayed or not? This method avoids the problem of having to parse an element's "style" attribute.
✅ isEnabled() - Is the element currently enabled or not? This will generally return true for everything but disabled input elements.
✅ isSelected() - Determine whether or not this element is selected or not.
Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials.
More tutorial playlists below:
❖ TRAININGS ON RCV ACADEMY PORTAL ❖
❖ FOLLOW US ON TWITTER ❖
❖ LIKE US ON FACEBOOK ❖
❖ OUR TUTORIAL WEBSITES ❖
❖ GET MY TRAININGS ON UDEMY ❖
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
Some of the key methods covered are:
✅ clear() - If this element is a text entry element, this will clear the value.
✅ click() - Click this element.
✅ getLocation() - Where on the page is the top left-hand corner of the rendered element?
✅ getSize() - What is the width and height of the rendered element?
✅ getTagName() - Get the tag name of this element.
✅ getText() - Get the visible text
✅ isDisplayed() - Is this element displayed or not? This method avoids the problem of having to parse an element's "style" attribute.
✅ isEnabled() - Is the element currently enabled or not? This will generally return true for everything but disabled input elements.
✅ isSelected() - Determine whether or not this element is selected or not.
Help me in spreading the knowledge, please hit LIKE, SHARE and SUBSCRIBE for latest tutorials.
More tutorial playlists below:
❖ TRAININGS ON RCV ACADEMY PORTAL ❖
❖ FOLLOW US ON TWITTER ❖
❖ LIKE US ON FACEBOOK ❖
❖ OUR TUTORIAL WEBSITES ❖
❖ GET MY TRAININGS ON UDEMY ❖
#SeleniumTutorial #SeleniumTraining #TestAutomation #SeleniumWebDriverTutorial #SeleniumWebDriver #SoftwareTesting #RcvAcademy #SoftwareTestingMentor
Комментарии