Interface ISearchContext
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
The base interface for search that is implemented by the DOM objects that provide search mechanisms.
public interface ISearchContext : IAutoDisposable
- Inherited Members
Methods
- GetElementByClassName(string)
Finds the first IElement object in the current search context by the given
className
.
- GetElementByCssSelector(string)
Finds the first IElement object in the current search context by the given CSS selector.
- GetElementById(string)
Finds the first IElement object in the current search context by the given
id
.
- GetElementByName(string)
Finds the first IElement object in the current search context by the given
name
.
- GetElementByTagName(string)
Finds the first IElement object in the current search context by the given tag name.
- GetElementsByClassName(string)
Finds all IElement objects in the current search context by the given
className
.
- GetElementsByCssSelector(string)
Finds all IElement objects in the current search context by the given
cssSelector
.
- GetElementsByName(string)
Finds all IElement objects in the current search context by the given
name
.
- GetElementsByTagName(string)
Finds all IElement objects in the current search context by the given tag name.