webElementClass. A class to represent a web elementkeys:clear():click():getAllAttributes():getAttribute(stringName = ""):getCssValue(stringName = ""):getHtml(tagLine = TRUE):tagLine = TRUE, the code includes the tag line code.getId():getSize():getTagName():getText():printHtml(tagLine = TRUE):tagLine = TRUE, the code includes the tag line code.isDisplayed():isEnabled():isSelected():sendKeys(text = NULL, keys = ""):submit():isMultiple():getOptions():webElementClass objects.getAllSelectedOptions:webElementClass objects.getFirstSelectedOption():webElementClass object.)selectByVisibleText(stringName = ""):selectByIndex(ind = 1):selectByValue(stringName = ""):deselectAll():deselectByIndex(ind = 1):deselectByValue(stringName = ""):deselectByVisibleText(stringName = ""):webElementClass object. Functions of type 'finElements' return a list of webElementClass objects. findElementByXPath:findElementByClassName:findElementByCssSelector:findElementById:findElementByName:findElementByLinkText:findElementByPartialLinkText:findElementByTagName:findElementsByXPath
findElementsByClassName
findElementsByCssSelector
findElementsById
findElementByPartialLinkText
findElementsByLinkText
findElementsByName
findElementsByPartialLinkText
findElementsByTagName
The webElement class is implemented as a reference class
(see ReferenceClasses for more details). This class is designed to represent a web element and interact with it.
It represents an HTML element. Generally, all interesting operations to do when interacting with a page will be performed through this interface.
You get a webElementClass from firefoxClass find methods or from other webElementClass. With this class you can navigate, select, extract web data and find web elements.
All methods implemented are explained below. Documentation is based on the original Selinum's Java documentation. It is possible to access to the methods through TAB completion.
An example of webElementClass can be found using demo(package = "relenium").
ReferenceClasses, relenium-package, firefoxClass