WebElement Methods in Selenium:
-------------------------------
- sendkeys: Use this method to simulate typing into an element which may set its value.
- Clear: if this element is a text entry element, this will clear the value.
- click: click this element
- getAttribute: Get the value of the given attribute of the element
- getCssValue: Get the value of the css properity
- getLocation: where on this page is the top left hand corner of the rendered element
- getSize: what is the width and hight of the rendered element
- getTagName: Get the tagName 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 attribut.
- isEnabled: is the element currently enabled or not? this will generally return true for everything but disabled input element
- isSelected: determine whether or not this element is selected or not.
Смотрите видео Selenium Class 33: WebElement Methods in Selenium онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Testing Tutorialspoint 12 Январь 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 720 раз и оно понравилось 7 посетителям.