DefaultSelenium GetElementPositionTop Method WebDriver
Retrieves the vertical position of an element

Namespace: Selenium
Assembly: ThoughtWorks.Selenium.Core (in ThoughtWorks.Selenium.Core.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public decimal GetElementPositionTop(
	string locator
)

Parameters

locator
Type: OnlineSystem String
an element locator pointing to an element OR an element itself

Return Value

of pixels from the edge of the frame.

Implements

ISelenium GetElementPositionTop(String)
See Also