PDF Google Drive Downloader v1.1


Báo lỗi sự cố

Nội dung text 4. WebElement Methods.pdf

WebElement<> Methods ➢ WebElement is an interface which contains 14 abstract methods declared in it. ➢ WebElement methods are used to perform some specific actions/ tasks on the web elements located on the web page ➢ WebElement <> abstract methods are implemented by RemoteWebElement class Methods of WebElement<>: 1. click() : void 2. sendKeys(CharSequence... data) : void 3. clear() : void 4. submit() : void 5. getTagName() : String 6. getText() : String 7. getAttribute(String attName) : String 8. getCssValue(String propertyName) : String 9. getSize() : Dimension 10. getLocation() : Point 11. getRect() : Rectangle 12. isEnabled() : boolean 13. isDisplayed() : boolean 14. isSeleted() : boolean WebElement <> WebElement <> RemoteWebElement(C)

Keys.CONTROL+”x” → to cut Keys.CONTROL+”c” → to copy Keys.CONTROL+”v” → to paste Etc... 3. clear() ➢ clear() is used to clear the data present in the element(input boxes) in the webpage located ➢ return type is void 4. submit() ➢ submit() is used to click on the button if button is designed by using input tag with an attribute type =”submit” ➢ return type is void Button can be designed in multiple ways a. using button tag → submit() b. using input tag where type = “button” → submit() c. using input tag where type = “submit” → submit()
x
Báo cáo lỗi download
Nội dung báo cáo



Chất lượng file Download bị lỗi:
Họ tên:
Email:
Bình luận
Trong quá trình tải gặp lỗi, sự cố,.. hoặc có thắc mắc gì vui lòng để lại bình luận dưới đây. Xin cảm ơn.