blob: b75e68f8e4ed649ea3dc53d848a2fab76b543074 [file] [log] [blame] [edit]
<html xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:mshelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:msxsl="urn:schemas-microsoft-com:xslt"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" /><META NAME="save" CONTENT="history" /><title>OpenQA.Selenium Namespace</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="OpenQA.Selenium namespace" /><meta name="Microsoft.Help.F1" content="OpenQA.Selenium" /><meta name="Microsoft.Help.Id" content="N:OpenQA.Selenium" /><meta name="Description" content=" " /><meta name="Microsoft.Help.ContentType" content="Reference" /><link rel="stylesheet" type="text/css" href="../styles/Presentation.css" /><link rel="stylesheet" type="text/css" href="ms-help://Hx/HxRuntime/HxLink.css" /><script type="text/javascript" src="../scripts/EventUtilities.js"> </script><script type="text/javascript" src="../scripts/SplitScreen.js"> </script><script type="text/javascript" src="../scripts/Dropdown.js"> </script><script type="text/javascript" src="../scripts/script_manifold.js"> </script><script type="text/javascript" src="../scripts/script_feedBack.js"> </script><script type="text/javascript" src="../scripts/CheckboxMenu.js"> </script><script type="text/javascript" src="../scripts/CommonUtilities.js"> </script><meta name="container" content="OpenQA.Selenium" /><meta name="file" content="N_OpenQA_Selenium" /><meta name="guid" content="N_OpenQA_Selenium" /><xml><MSHelp:Attr Name="AssetID" Value="N:OpenQA.Selenium" /><MSHelp:TOCTitle Title="OpenQA.Selenium Namespace" /><MSHelp:RLTitle Title="OpenQA.Selenium Namespace ()" /><MSHelp:Keyword Index="A" Term="N:OpenQA.Selenium" /><MSHelp:Keyword Index="A" Term="frlrfOpenQASelenium" /><MSHelp:Keyword Index="K" Term="OpenQA.Selenium namespace" /><MSHelp:Keyword Index="F" Term="OpenQA.Selenium" /><MSHelp:Attr Name="HelpPriority" Value="1" /><MSHelp:Attr Name="DevLang" Value="CSharp" /><MSHelp:Attr Name="DevLang" Value="VB" /><MSHelp:Attr Name="Locale" Value="en-us" /><MSHelp:Attr Name="TopicType" Value="kbSyntax" /><MSHelp:Attr Name="TopicType" Value="apiref" /><MSHelp:Attr Name="Abstract" Value=" " /></xml></head><body><input type="hidden" id="userDataCache" class="userDataStyle" /><input type="hidden" id="hiddenScrollOffset" /><img id="collapseImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" alt="Collapse image" title="Collapse image" /><img id="expandImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" alt="Expand Image" title="Expand Image" /><img id="collapseAllImage" style="display:none; height:0; width:0;" src="../icons/collapse_all.gif" /><img id="expandAllImage" style="display:none; height:0; width:0;" src="../icons/expand_all.gif" /><img id="dropDownImage" style="display:none; height:0; width:0;" src="../icons/dropdown.gif" /><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="../icons/dropdownHover.gif" /><img id="copyImage" style="display:none; height:0; width:0;" src="../icons/copycode.gif" alt="Copy image" title="Copy image" /><img id="copyHoverImage" style="display:none; height:0; width:0;" src="../icons/copycodeHighlight.gif" alt="CopyHover image" title="CopyHover image" /><div id="header"><table id="topTable" cellspacing="0" cellpadding="0"><tr><td><span onclick="ExpandCollapseAll(toggleAllImage)" style="cursor:default;" onkeypress="ExpandCollapseAll_CheckKey(toggleAllImage, event)" tabindex="0"><img ID="toggleAllImage" class="toggleAll" src="../icons/collapse_all.gif" /> <label id="collapseAllLabel" for="toggleAllImage" style="display: none;">Collapse All</label><label id="expandAllLabel" for="toggleAllImage" style="display: none;">Expand All</label> </span><span>    </span><span id="devlangsDropdown" class="filter" tabindex="0"><img id="devlangsDropdownImage" src="../icons/dropdown.gif" /> <label id="devlangsMenuAllLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: All </nobr></label><label id="devlangsMenuMultipleLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Multiple </nobr></label><label id="devlangsMenuCSharpLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: C# </nobr></label><label id="devlangsMenuVisualBasicLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Visual Basic </nobr></label><label id="devlangsMenuManagedCPlusPlusLabel" for="devlangsDropdownImage" style="display: none;"><nobr>Code: Visual C++ </nobr></label></span></td></tr></table><div id="devlangsMenu"><input id="CSharpCheckbox" type="checkbox" data="CSharp,cs,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="CSharpCheckbox">C#</label><br /><input id="VisualBasicCheckbox" type="checkbox" data="VisualBasic,vb,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="VisualBasicCheckbox">Visual Basic</label><br /><input id="ManagedCPlusPlusCheckbox" type="checkbox" data="ManagedCPlusPlus,cpp,'persist'" value="on" onClick="SetLanguage(this)" /><label class="checkboxLabel" for="ManagedCPlusPlusCheckbox">Visual C++</label><br /></div><table id="bottomTable" cellpadding="0" cellspacing="0"><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText">WebDriver</span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">OpenQA.Selenium Namespace</span></td></tr><tr id="headerTableRow3"><td align="left"><span id="headfeedbackarea" class="feedbackhead"><a href="javascript:SubmitFeedback('[email protected]','WebDriver','','','','%0\dYour%20feedback%20is%20used%20to%20improve%20the%20documentation%20and%20the%20product.%20Your%20e-mail%20address%20will%20not%20be%20used%20for%20any%20other%20purpose%20and%20is%20disposed%20of%20after%20the%20issue%20you%20report%20is%20resolved.%20%20While%20working%20to%20resolve%20the%20issue%20that%20you%20report,%20you%20may%20be%20contacted%20via%20e-mail%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20sent.%20After%20the%20issue%20you%20report%20has%20been%20addressed,%20you%20may%20receive%20an%20e-mail%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.%0\A%0\d','Customer%20Feedback');">Send Feedback</a></span></td></tr></table><table id="gradientTable"><tr><td class="nsrBottom" background="../icons/gradient.gif" /></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory" onsave="saveAll()" onload="loadAll()" /><span style="color: DarkGray"></span><div class="summary"> </div><h1 class="heading"><span onclick="ExpandCollapse(classToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(classToggle, event)" tabindex="0"><img id="classToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Classes</span></h1><div id="classSection" class="section" name="collapseableSection" style=""><table id="typeList" class="members" frame="lhs" cellpadding="2"><col width="10%" /><tr><th class="iconColumn">
 
</th><th class="nameColumn">Class</th><th class="descriptionColumn">Description</th></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_By.htm">By</a></td><td><div class="summary">
Provides a mechanism by which to find elements within a document.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_Cookie.htm">Cookie</a></td><td><div class="summary">
Represents a cookie in the browser.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_DriverService.htm">DriverService</a></td><td><div class="summary">
Exposes the service provided by a native WebDriver server executable.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_DriverServiceNotFoundException.htm">DriverServiceNotFoundException</a></td><td><div class="summary">
The exception that is thrown when an element is not visible.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_ElementNotVisibleException.htm">ElementNotVisibleException</a></td><td><div class="summary">
The exception that is thrown when an element is not visible.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_IllegalLocatorException.htm">IllegalLocatorException</a></td><td><div class="summary">
The exception that is thrown when an attempt is made to locate an item using invalid criteria.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_InvalidCookieDomainException.htm">InvalidCookieDomainException</a></td><td><div class="summary">
The exception that is thrown when the users attempts to set a cookie with an invalid domain.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_InvalidElementStateException.htm">InvalidElementStateException</a></td><td><div class="summary">
The exception that is thrown when a reference to an element is no longer valid.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_InvalidSelectorException.htm">InvalidSelectorException</a></td><td><div class="summary">
The exception that is thrown when an element is not visible.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_Keys.htm">Keys</a></td><td><div class="summary">
Representations of pressable keys that are not text keys for sending to the browser.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_NoAlertPresentException.htm">NoAlertPresentException</a></td><td><div class="summary">
The exception that is thrown when an alert is not found.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_NoSuchElementException.htm">NoSuchElementException</a></td><td><div class="summary">
The exception that is thrown when an element is not found.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_NoSuchFrameException.htm">NoSuchFrameException</a></td><td><div class="summary">
The exception that is thrown when a frame is not found.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_NoSuchWindowException.htm">NoSuchWindowException</a></td><td><div class="summary">
The exception that is thrown when a window is not found.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_NotFoundException.htm">NotFoundException</a></td><td><div class="summary">
The exception that is thrown when an item is not found.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_Platform.htm">Platform</a></td><td><div class="summary">
Represents the platform on which tests are to be run.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_Proxy.htm">Proxy</a></td><td><div class="summary">
Describes proxy settings to be used with a driver instance.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_Screenshot.htm">Screenshot</a></td><td><div class="summary">
Represents an image of the page currently loaded in the browser.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_StaleElementReferenceException.htm">StaleElementReferenceException</a></td><td><div class="summary">
The exception that is thrown when a reference to an element is no longer valid.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_UnableToSetCookieException.htm">UnableToSetCookieException</a></td><td><div class="summary">
The exception that is thrown when the user is unable to set a cookie.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_UnhandledAlertException.htm">UnhandledAlertException</a></td><td><div class="summary">
The exception that is thrown when an unhandled alert is present.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_WebDriverException.htm">WebDriverException</a></td><td><div class="summary">
Represents exceptions that are thrown when an error occurs during actions.
</div></td></tr><tr data="class; public"><td><img src="../icons/pubclass.gif" alt="Public class" title="Public class" /></td><td><a href="T_OpenQA_Selenium_XPathLookupException.htm">XPathLookupException</a></td><td><div class="summary">
The exception that is thrown when an error occurs during an XPath lookup.
</div></td></tr></table></div><h1 class="heading"><span onclick="ExpandCollapse(interfaceToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(interfaceToggle, event)" tabindex="0"><img id="interfaceToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Interfaces</span></h1><div id="interfaceSection" class="section" name="collapseableSection" style=""><table id="typeList" class="members" frame="lhs" cellpadding="2"><col width="10%" /><tr><th class="iconColumn">
 
</th><th class="nameColumn">Interface</th><th class="descriptionColumn">Description</th></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IAlert.htm">IAlert</a></td><td><div class="summary">
Defines the interface through which the user can manipulate JavaScript alerts.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_ICapabilities.htm">ICapabilities</a></td><td><div class="summary">
Capabilities of the browser that you are going to use
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_ICookieJar.htm">ICookieJar</a></td><td><div class="summary">
Defines an interface allowing the user to manipulate cookies on the current page.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IHasCapabilities.htm">IHasCapabilities</a></td><td><div class="summary">
Defines the interface through which the user can determine the capabilities of a driver.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IHasInputDevices.htm">IHasInputDevices</a></td><td><div class="summary">
Provides access to input devices for advanced user interactions.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IJavaScriptExecutor.htm">IJavaScriptExecutor</a></td><td><div class="summary">
Defines the interface through which the user can execute JavaScript.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IKeyboard.htm">IKeyboard</a></td><td><div class="summary">
Provides methods representing basic keyboard actions.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_ILocatable.htm">ILocatable</a></td><td><div class="summary">
Defines the interface through which the user can discover where an element is on the screen.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IMouse.htm">IMouse</a></td><td><div class="summary">
Provides methods representing basic mouse actions.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_INavigation.htm">INavigation</a></td><td><div class="summary">
Defines an interface allowing the user to access the browser's history and to
navigate to a given URL.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IOptions.htm">IOptions</a></td><td><div class="summary">
Defines an interface allowing the user to set options on the browser.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IRotatable.htm">IRotatable</a></td><td><div class="summary">
Represents rotation of the browser view for orientation-sensitive devices.
When using this with a real device, the device should not be moved so that
the built-in sensors do not interfere.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_ISearchContext.htm">ISearchContext</a></td><td><div class="summary">
Defines the interface used to search for elements.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_ITakesScreenshot.htm">ITakesScreenshot</a></td><td><div class="summary">
Defines the interface used to take screen shot images of the screen.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_ITargetLocator.htm">ITargetLocator</a></td><td><div class="summary">
Defines the interface through which the user can locate a given frame or window.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_ITimeouts.htm">ITimeouts</a></td><td><div class="summary">
Defines the interface through which the user can define timeouts.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IWebDriver.htm">IWebDriver</a></td><td><div class="summary">
Defines the interface through which the user controls the browser.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IWebElement.htm">IWebElement</a></td><td><div class="summary">
Defines the interface through which the user controls elements on the page.
</div></td></tr><tr data="interface; public"><td><img src="../icons/pubinterface.gif" alt="Public interface" title="Public interface" /></td><td><a href="T_OpenQA_Selenium_IWindow.htm">IWindow</a></td><td><div class="summary">
Provides methods for getting and setting the size and position of the browser window.
</div></td></tr></table></div><h1 class="heading"><span onclick="ExpandCollapse(enumerationToggle)" style="cursor:default;" onkeypress="ExpandCollapse_CheckKey(enumerationToggle, event)" tabindex="0"><img id="enumerationToggle" class="toggle" name="toggleSwitch" src="../icons/collapse_all.gif" />Enumerations</span></h1><div id="enumerationSection" class="section" name="collapseableSection" style=""><table id="typeList" class="members" frame="lhs" cellpadding="2"><col width="10%" /><tr><th class="iconColumn">
 
</th><th class="nameColumn">Enumeration</th><th class="descriptionColumn">Description</th></tr><tr data="enumeration; public"><td><img src="../icons/pubenumeration.gif" alt="Public enumeration" title="Public enumeration" /></td><td><a href="T_OpenQA_Selenium_PlatformType.htm">PlatformType</a></td><td><div class="summary">
Represents the known and supported Platforms that WebDriver runs on.
</div></td></tr><tr data="enumeration; public"><td><img src="../icons/pubenumeration.gif" alt="Public enumeration" title="Public enumeration" /></td><td><a href="T_OpenQA_Selenium_ProxyKind.htm">ProxyKind</a></td><td><div class="summary">
Describes the kind of proxy.
</div></td></tr><tr data="enumeration; public"><td><img src="../icons/pubenumeration.gif" alt="Public enumeration" title="Public enumeration" /></td><td><a href="T_OpenQA_Selenium_ScreenOrientation.htm">ScreenOrientation</a></td><td><div class="summary">
Represents possible screen orientations.
</div></td></tr><tr data="enumeration; public"><td><img src="../icons/pubenumeration.gif" alt="Public enumeration" title="Public enumeration" /></td><td><a href="T_OpenQA_Selenium_WebDriverResult.htm">WebDriverResult</a></td><td><div class="summary">
Specifies return values for actions in the driver.
</div></td></tr></table></div></div><div id="footer"><div class="footerLine"><img width="100%" height="3px" src="../icons/footer.gif" alt="Footer image" title="Footer image" /></div><A NAME="feedback"></A><span id="fb" class="feedbackcss"></span><p />Send comments on this topic to
<a id="HT_MailLink" href="mailto:webdriver%40googlegroups.com?Subject=WebDriver">WebDriver Users Google Group</a><script type="text/javascript">
var HT_mailLink = document.getElementById("HT_MailLink");
var HT_mailLinkText = HT_mailLink.innerHTML;
HT_mailLink.href += ": " + document.title;
HT_mailLink.innerHTML = HT_mailLinkText;
</script><p />Copyright © 2011 WebDriver Committers</div></div></body></html>