RemoveElementAsync Method
In This Topic
Removes element by its ID, tag and/or class name asynchronously.
Syntax
'Declaration
Public Function RemoveElementAsync( _
ByVal As System.String, _
Optional ByVal As System.String, _
Optional ByVal As System.String, _
Optional ByVal As System.Boolean _
) As System.Threading.Tasks.Task
public System.Threading.Tasks.Task RemoveElementAsync(
System.string ,
System.string ,
System.string ,
System.bool
)
Parameters
- elementId
- Element ID to remove.
- tag
- Tag name to remove.
- className
- Class name of the elements to remove.
- removeChildren
- Determines whether child elements should also be removed.
See Also