Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tebeka/selenium
/ types & classes
Types & classes
40 in github.com/tebeka/selenium
⨍
Functions
284
◇
Types & classes
40
↓ 1 callers
TypeAlias
Level
Level represents a logging level of different components in the browser, the driver, or any intermediary WebDriver servers. See the documentation of
log/log.go:24
Struct
Capabilities
Capabilities provides Firefox-specific options to WebDriver.
firefox/capabilities.go:16
Struct
Capabilities
Capabilities defines the Chrome-specific desired capabilities when using ChromeDriver. An instance of this struct can be stored in the Capabilities ma
chrome/capabilities.go:31
Struct
Capabilities
Capabilities are the options to provide to the Sauce infrastructure for each test. See the following URL for more details of each configuration param
sauce/sauce.go:19
TypeAlias
Capabilities
Capabilities configures both the WebDriver process and the target browsers, with standard and browser-specific options.
selenium.go:93
TypeAlias
Capabilities
Capabilities is the map to include in the WebDriver capabilities structure to configure logging.
log/log.go:45
FuncType
Condition
Condition is an alias for a type that is passed as an argument for selenium.Wait(cond Condition) (error) function.
remote.go:1189
Struct
Connect
Connect manages an instance of a Sauce Connect Proxy to allow Sauce Labs to access HTTP endpoints from the local machine, though a tunnel.
sauce/connect.go:17
Struct
Cookie
Cookie represents an HTTP cookie.
selenium.go:205
Struct
DeviceMetrics
DeviceMetrics specifies device attributes for emulation.
chrome/capabilities.go:92
Struct
Error
Error contains information about a failure of a command. See the table of these strings at https://www.w3.org/TR/webdriver/#handling-errors . This er
remote.go:100
Struct
FrameBuffer
FrameBuffer controls an X virtual frame buffer running as a background process.
service.go:297
Struct
FrameBufferOptions
FrameBufferOptions describes the options that can be used to create a frame buffer.
service.go:68
Struct
Log
Log specifies how Firefox should log debug data.
firefox/capabilities.go:77
TypeAlias
LogLevel
LogLevel is an enum that defines logging levels for Firefox.
firefox/capabilities.go:63
Struct
Message
Message is a log message returned from the Log method.
log/log.go:48
Struct
MobileEmulation
TODO(minusnine): https://bugs.chromium.org/p/chromedriver/issues/detail?id=1625 mentions "experimental options". Implement that. MobileEmulation provi
chrome/capabilities.go:79
Struct
PerfLoggingPreferences
PerfLoggingPreferences specifies configuration options for performance logging.
chrome/capabilities.go:106
Struct
Point
Point is a 2D point.
selenium.go:195
Struct
PreRun
PreRun configures a URL to an executable file, which will be downloaded and executed to configure the VM before the test starts.
sauce/sauce.go:117
Struct
Proxy
Proxy specifies configuration for proxies in the browser. Set the key "proxy" in Capabilities to an instance of this type.
selenium.go:128
TypeAlias
ProxyType
ProxyType is an enumeration of the types of proxies available.
selenium.go:159
Struct
Service
Service controls a locally-running Selenium subprocess.
service.go:146
FuncType
ServiceOption
ServiceOption configures a Service instance.
service.go:19
Struct
Size
Size is a size of HTML element.
selenium.go:200
Struct
Status
Status contains information returned by the Status method.
selenium.go:176
TypeAlias
Type
Type represents a component capable of logging.
log/log.go:7
TypeAlias
Visibility
Visibility is a visibility level for a test.
sauce/sauce.go:99
Interface
WebDriver
WebDriver defines methods supported by WebDriver drivers.
selenium.go:215
Interface
WebElement
WebElement defines method supported by web elements.
selenium.go:372
Struct
addrRewriter
addrRewriter rewrites all requsted addresses to the one specified by the URL.
remote_test.go:1691
Struct
config
remote_test.go:127
Struct
cookie
ChromeDriver returns the expiration date as a float. Handle both formats via a type switch.
remote.go:907
Struct
keyAction
remote.go:1055
Struct
rect
remote.go:1434
Struct
remoteWD
remote.go:49
Struct
remoteWE
remote.go:1266
Struct
resp
service.go:356
Struct
returnedCapabilities
remote.go:460
Struct
serverReply
TODO(minusnine): provide a "sessionURL" function that prepends the session/<id> URL prefix and replace most requestURL (and voidCommand) calls with it
remote.go:83