sdk/src/selenium.ts
Export Index
| Export | Kind | Source | Notes |
|---|---|---|---|
Alert | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
By | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Cookie | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByClassNameSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByCssSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByIdSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByLinkTextSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByNameSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByPartialLinkTextSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByTagNameSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByXpathSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorStrategy | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorStrategySchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Navigation | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Options | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
RemoteWebDriver | class | sdk/src/drivers/selenium/driver.ts | Remote WebDriver implementation over RPC. Implements the Selenium WebDriver interface. |
RemoteWebElement | class | sdk/src/drivers/selenium/element.ts | Remote WebElement implementation over RPC. Implements the WebDriver WebElement interface. |
SeleniumCookieSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumRect | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumRectSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumSession | class | sdk/src/drivers/selenium/session.ts | Selenium session with WebDriver API and Stagehand AI methods. |
SeleniumSetRect | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumSetRectSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
TargetLocator | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
WebDriver | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
WebElement | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Window | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Classes
RemoteWebDriver
Source:sdk/src/drivers/selenium/driver.ts
Constructor
Properties
| Name | Type | Notes |
|---|---|---|
pageId | string | readonly |
Methods
close
executeAsyncScript
executeScript
findElement
findElements
get
getAllWindowHandles
getCurrentUrl
getPageSource
getTitle
getWindowHandle
manage
navigate
quit
switchTo
takeScreenshot
RemoteWebElement
Source:sdk/src/drivers/selenium/element.ts
Constructor
Properties
| Name | Type | Notes |
|---|---|---|
id | string | getter |
Methods
clear
click
findElement
findElements
getAttribute
getCssValue
getRect
getTagName
getText
isDisplayed
isEnabled
isSelected
sendKeys
submit
takeScreenshot
SeleniumSession
Source:sdk/src/drivers/selenium/session.ts
Constructor
Properties
| Name | Type | Notes |
|---|---|---|
context | SeleniumContext | getter • Context for page management (like stagehand.context). |
driver | WebDriver | getter • Alias for webDriver (for backward compatibility). |
webDriver | WebDriver | getter • Get the WebDriver instance (Selenium API). |
External Re-exports
| Export | Kind | Source | Notes |
|---|---|---|---|
Alert | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
By | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Cookie | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByClassNameSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByCssSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByIdSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByLinkTextSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByNameSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByPartialLinkTextSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByTagNameSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorByXpathSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorStrategy | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
LocatorStrategySchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Navigation | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Options | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumCookieSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumRect | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumRectSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumSetRect | type | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
SeleniumSetRectSchema | variable | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
TargetLocator | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
WebDriver | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
WebElement | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |
Window | interface | packages/schemas/src/options/selenium.ts | Re-exported from non-SDK source |

