PhantomJSWebElement MembersWebDriver

The PhantomJSWebElement type exposes the following members.
Constructors

  NameDescription
Public methodPhantomJSWebElement
Initializes a new instance of the PhantomJSWebElement class.
Back to Top
Methods

  NameDescription
Public methodClear
Clears the content of this element.
(Inherited from RemoteWebElement.)
Public methodClick
Clicks this element.
(Inherited from RemoteWebElement.)
Public methodEquals
Compares if two elements are equal
(Inherited from RemoteWebElement.)
Protected methodExecute
Executes a command on this element using the specified parameters.
(Inherited from RemoteWebElement.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFindElement(By)
Finds the first IWebElement using the given method.
(Inherited from RemoteWebElement.)
Protected methodFindElement(String, String)
Finds a child element matching the given mechanism and value.
(Inherited from RemoteWebElement.)
Public methodFindElementByClassName
Finds the first element in the page that matches the CSS Class supplied
(Inherited from RemoteWebElement.)
Public methodFindElementByCssSelector
Finds the first element matching the specified CSS selector.
(Inherited from RemoteWebElement.)
Public methodFindElementById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebElement.)
Public methodFindElementByLinkText
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebElement.)
Public methodFindElementByName
Finds the first of elements that match the name supplied
(Inherited from RemoteWebElement.)
Public methodFindElementByPartialLinkText
Finds the first of elements that match the part of the link text supplied
(Inherited from RemoteWebElement.)
Public methodFindElementByTagName
Finds the first of elements that match the DOM Tag supplied
(Inherited from RemoteWebElement.)
Public methodFindElementByXPath
Finds the first of elements that match the XPath supplied
(Inherited from RemoteWebElement.)
Public methodFindElements(By)
Finds all IWebElements within the current context using the given mechanism.
(Inherited from RemoteWebElement.)
Protected methodFindElements(String, String)
Finds all child elements matching the given mechanism and value.
(Inherited from RemoteWebElement.)
Public methodFindElementsByClassName
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebElement.)
Public methodFindElementsByCssSelector
Finds all elements matching the specified CSS selector.
(Inherited from RemoteWebElement.)
Public methodFindElementsById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebElement.)
Public methodFindElementsByLinkText
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebElement.)
Public methodFindElementsByName
Finds a list of elements that match the name supplied
(Inherited from RemoteWebElement.)
Public methodFindElementsByPartialLinkText
Finds a list of elements that match the link text supplied
(Inherited from RemoteWebElement.)
Public methodFindElementsByTagName
Finds a list of elements that match the DOM Tag supplied
(Inherited from RemoteWebElement.)
Public methodFindElementsByXPath
Finds a list of elements that match the XPath supplied
(Inherited from RemoteWebElement.)
Public methodGetAttribute
Gets the value of the specified attribute for this element.
(Inherited from RemoteWebElement.)
Public methodGetCssValue
Gets the value of a CSS property of this element.
(Inherited from RemoteWebElement.)
Public methodGetHashCode
Method to get the hash code of the element
(Inherited from RemoteWebElement.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSendKeys
Simulates typing text into the element.
(Inherited from RemoteWebElement.)
Public methodSubmit
Submits this element to the web server.
(Inherited from RemoteWebElement.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
Properties

  NameDescription
Public propertyCoordinates
Gets the coordinates identifying the location of this element using various frames of reference.
(Inherited from RemoteWebElement.)
Public propertyDisplayed
Gets a value indicating whether or not this element is displayed.
(Inherited from RemoteWebElement.)
Public propertyEnabled
Gets a value indicating whether or not this element is enabled.
(Inherited from RemoteWebElement.)
Protected propertyId
Gets the ID of the element
(Inherited from RemoteWebElement.)
Public propertyLocation
Gets a OnlinePoint object containing the coordinates of the upper-left corner of this element relative to the upper-left corner of the page.
(Inherited from RemoteWebElement.)
Public propertyLocationOnScreenOnceScrolledIntoView
Gets the point where the element would be when scrolled into view.
(Inherited from RemoteWebElement.)
Public propertySelected
Gets a value indicating whether or not this element is selected.
(Inherited from RemoteWebElement.)
Public propertySize
Gets a Size object containing the height and width of this element.
(Inherited from RemoteWebElement.)
Public propertyTagName
Gets the tag name of this element.
(Inherited from RemoteWebElement.)
Public propertyText
Gets the innerText of this element, without any leading or trailing whitespace, and with other whitespace collapsed.
(Inherited from RemoteWebElement.)
Public propertyWrappedDriver
Gets the IWebDriver used to find this element.
(Inherited from RemoteWebElement.)
Back to Top
See Also