WebElements

Any HTML element on the page, such as a textbox, dropdown, radio button, checkbox, and so on can be considered as a WebElement. How can we access web elements on an HTML screen? Well, Selenium WebDriver provides us with the very useful WebElement interface. The only implementation class of this interface is the RemoteWebElement. Whenever an HTML element has to be operated upon in the code, it's a best practice to access the element using the WebElement interface. One of the parent interfaces of the WebElement interface is SearchContext, which we will look at next.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.171.121