Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ functions
Functions
25,221 in github.com/SeleniumHQ/selenium
⨍
Functions
25,221
◇
Types & classes
5,308
↳
Endpoints
6
↓ 2,549 callers
Method
get
Fetches available log entries for the given log type. <p>Note that log buffers are reset after each call, meaning that available log entries correspo
java/src/org/openqa/selenium/logging/Logs.java:40
↓ 1,011 callers
Method
findElement
Find the first {@link WebElement} using the given method. This method is affected by the 'implicit wait' times in force at the time of execution. The
java/src/org/openqa/selenium/WebDriver.java:126
↓ 940 callers
Method
of
(String name)
java/src/org/openqa/selenium/grid/config/Role.java:31
↓ 766 callers
Method
FindElement
(By by)
dotnet/test/webdriver/WebElementWrapper.cs:53
↓ 756 callers
Method
nonNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:66
↓ 736 callers
Method
until
Implementations should wait until the condition evaluates to a value that is neither null nor false. Because of this contract, the return type must no
java/src/org/openqa/selenium/support/ui/Wait.java:45
↓ 725 callers
Method
id
@param id The value of the "id" attribute to search for. @return A By which locates elements by the value of the "id" attribute.
java/src/org/openqa/selenium/By.java:50
↓ 640 callers
Method
load
(self)
py/test/selenium/webdriver/common/results_page.py:31
↓ 615 callers
Method
find_element
Find an element given a By strategy and locator. Args: by: The locating strategy to use. Default is `By.ID`. Supported
py/selenium/webdriver/remote/webdriver.py:987
↓ 588 callers
Method
toString
()
java/src/org/openqa/selenium/OutputType.java:46
↓ 544 callers
Method
Id
<summary> Gets a mechanism to find elements by their ID. </summary> <param name="idToFind">The ID to find.</param> <returns>A <see cref="By"/> object
dotnet/src/webdriver/By.cs:147
↓ 541 callers
Method
add
Add a node to this registry. @param node The node to add.
java/src/org/openqa/selenium/grid/distributor/NodeRegistry.java:52
↓ 521 callers
Method
click
Click this element. If this causes a new page to load, you should discard all references to this element and any further operations performed on this
java/src/org/openqa/selenium/WebElement.java:50
↓ 456 callers
Method
execute
(String script, Object... args)
java/src/org/openqa/selenium/remote/Script.java:45
↓ 409 callers
Method
build
(data: unknown)
javascript/selenium-webdriver/bidi/serialization/union.d.ts:23
↓ 381 callers
Method
put
(String key, String value)
java/src/org/openqa/selenium/remote/tracing/AttributeMap.java:22
↓ 357 callers
Method
format
(LogRecord record)
java/src/org/openqa/selenium/grid/log/JsonFormatter.java:37
↓ 356 callers
Method
map
(Function<? super B, ? extends R> mapper)
java/src/org/openqa/selenium/internal/Either.java:61
↓ 354 callers
Method
stream
()
java/src/org/openqa/selenium/internal/Either.java:76
↓ 339 callers
Method
whereIs
(String relativeUrl)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:30
↓ 334 callers
Method
getName
()
java/src/org/openqa/selenium/cli/CliCommand.java:26
↓ 318 callers
Method
new
@api private @see https://www.selenium.dev/documentation/warnings/bidi-implementation/ @see https://w3c.github.io/webdriver-bidi/#command-session-new
rb/lib/selenium/webdriver/bidi/protocol/session.rb:328
↓ 304 callers
Method
new
(*args, &block)
rb/lib/selenium/webdriver/bidi/struct.rb:25
↓ 296 callers
Method
getAttribute
Get the value of the given attribute of the element. Will return the current value, even if this has been modified after the page has been loaded. <p
java/src/org/openqa/selenium/WebElement.java:167
↓ 289 callers
Method
set
(C carrier, String key, String value)
java/src/org/openqa/selenium/remote/tracing/Propagator.java:31
↓ 269 callers
Method
filter
()
java/src/org/openqa/selenium/remote/http/ClientConfig.java:234
↓ 263 callers
Method
collect
(union: type[Union])
py/selenium/webdriver/common/_bidi/serialization.py:599
↓ 260 callers
Method
append
(String text)
java/src/org/openqa/selenium/json/JsonOutput.java:458
↓ 246 callers
Method
Click
()
dotnet/test/webdriver/WebElementWrapper.cs:48
↓ 246 callers
Method
getWindowHandle
Return an opaque handle to this window that uniquely identifies it within this driver instance. This can be used to switch to this window at a later d
java/src/org/openqa/selenium/WebDriver.java:178
↓ 234 callers
Method
split
(String value)
java/src/org/openqa/selenium/grid/config/NonSplittingSplitter.java:36
↓ 228 callers
Method
toType
Deserialize the specified JSON string into an object of the specified type.<br> <b>NOTE</b>: This method uses the {@link PropertySetting#BY_NAME BY_NA
java/src/org/openqa/selenium/json/Json.java:180
↓ 226 callers
Method
push
(message)
rb/spec/unit/selenium/webdriver/bidi/event_listeners_spec.rb:68
↓ 217 callers
Method
switchTo
Send future commands to a different frame or window. @return A TargetLocator which can be used to select a frame or window @see org.openqa.selenium.W
java/src/org/openqa/selenium/WebDriver.java:186
↓ 215 callers
Method
log
()
java/src/org/openqa/selenium/devtools/idealized/Domains.java:38
↓ 215 callers
Method
send
(Message message)
java/src/org/openqa/selenium/remote/http/WebSocket.java:29
↓ 211 callers
Method
now
()
java/test/org/openqa/selenium/support/ui/TickingClock.java:29
↓ 210 callers
Method
setContent
(Supplier<InputStream> supplier)
java/src/org/openqa/selenium/remote/http/HttpMessage.java:207
↓ 210 callers
Method
to
Load a new web page in the current browser window. This is done using an HTTP POST operation, and the method will block until the load is complete. Th
java/src/org/openqa/selenium/WebDriver.java:522
↓ 208 callers
Method
close
Close the current window, quitting the browser if it's the last window currently open. <p>See <a href="https://w3c.github.io/webdriver/#close-window"
java/src/org/openqa/selenium/WebDriver.java:153
↓ 205 callers
Function
execute
(command)
javascript/selenium-webdriver/test/remote_test.js:100
↓ 204 callers
Method
forEach
(BiConsumer<K, V> consumer)
java/src/org/openqa/selenium/internal/Multimap.java:71
↓ 196 callers
Method
get_attribute
Gets the given attribute or property of the element. This method will first try to return the value of a property with the given name
py/selenium/webdriver/remote/webelement.py:187
↓ 195 callers
Method
getText
()
java/src/org/openqa/selenium/Alert.java:25
↓ 195 callers
Method
isEmpty
()
java/test/org/openqa/selenium/internal/MultimapTest.java:73
↓ 190 callers
Method
getLogger
* Retrieves a named logger, creating it in the process. This function will * implicitly create the requested logger, and any of its parents, if the
javascript/selenium-webdriver/lib/logging.js:487
↓ 185 callers
Method
frame
Select a frame by its (zero-based) index. Selecting a frame by index is equivalent to the JS expression window.frames[index] where "window" is the DOM
java/src/org/openqa/selenium/WebDriver.java:393
↓ 185 callers
Method
get
(String section, String option)
java/src/org/openqa/selenium/grid/config/Config.java:38
↓ 183 callers
Method
GetAttribute
(string attributeName)
dotnet/test/webdriver/WebElementWrapper.cs:63
↓ 180 callers
Method
is
(String browserName)
java/src/org/openqa/selenium/remote/Browser.java:38
↓ 176 callers
Method
url
(self, name, localhost=False, secure=False)
py/conftest.py:641
↓ 173 callers
Method
perform
()
java/src/org/openqa/selenium/interactions/Action.java:22
↓ 172 callers
Method
findElements
Find all elements within the current page using the given mechanism. This method is affected by the 'implicit wait' times in force at the time of exec
java/src/org/openqa/selenium/WebDriver.java:106
↓ 168 callers
Method
Add
(ILogHandler handler)
dotnet/src/webdriver/Internal/Logging/LogHandlerList.cs:46
↓ 168 callers
Method
find
Find the executable by scanning the file system and the PATH. In the case of Windows this method allows common executable endings (".com", ".bat" and
java/src/org/openqa/selenium/os/ExecutableFinder.java:46
↓ 167 callers
Method
WhereIs
(string page)
dotnet/test/testing.webserver/UrlBuilder.cs:56
↓ 167 callers
Method
name
@param name The value of the "name" attribute to search for. @return A By which locates elements by the value of the "name" attribute.
java/src/org/openqa/selenium/By.java:74
↓ 161 callers
Method
tagName
@param tagName The element's tag name. @return A By which locates elements by their tag name.
java/src/org/openqa/selenium/By.java:82
↓ 157 callers
Method
Name
<summary> Gets a mechanism to find elements by their name. </summary> <param name="nameToFind">The name to find.</param> <returns>A <see cref="By"/> o
dotnet/src/webdriver/By.cs:194
↓ 156 callers
Method
getId
()
java/src/org/openqa/selenium/grid/node/ActiveSession.java:29
↓ 154 callers
Method
getClass
(String section, String option, Class<X> typeOfClass, String defaultClazz)
java/src/org/openqa/selenium/grid/config/Config.java:69
↓ 152 callers
Method
quit
Quits this driver, closing every associated window.
java/src/org/openqa/selenium/WebDriver.java:156
↓ 148 callers
Method
SwitchTo
<summary> Method to give you access to switch frames and windows </summary> <returns>Returns an Object that allows you to Switch Frames and Windows</r
dotnet/src/webdriver/WebDriver.cs:430
↓ 148 callers
Method
execute_script
(self, script, *args)
py/test/unit/selenium/webdriver/common/accessibility_snapshot_tests.py:233
↓ 145 callers
Method
manage
Gets the Option interface @return An option interface @see org.openqa.selenium.WebDriver.Options
java/src/org/openqa/selenium/WebDriver.java:203
↓ 144 callers
Method
isNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:80
↓ 139 callers
Method
end
()
javascript/selenium-webdriver/test/lib/webdriver_test.js:117
↓ 139 callers
Method
read
()
java/src/org/openqa/selenium/grid/web/Resource.java:33
↓ 138 callers
Method
load
(self, name)
py/test/selenium/webdriver/common/bidi/webextension_tests.py:125
↓ 134 callers
Method
format
(LogRecord record)
java/test/org/openqa/selenium/testing/CaptureLoggingRule.java:121
↓ 134 callers
Method
window
@return the interface for managing the current window.
java/src/org/openqa/selenium/WebDriver.java:274
↓ 133 callers
Method
navigate
An abstraction allowing the driver to access the browser's history and to navigate to a given URL. @return A {@link org.openqa.selenium.WebDriver.Nav
java/src/org/openqa/selenium/WebDriver.java:195
↓ 133 callers
Method
remove
Removes a node from this registry. @param nodeId The id of the node to remove.
java/src/org/openqa/selenium/grid/distributor/NodeRegistry.java:59
↓ 132 callers
Method
isPresent
Checks whether the browser driver is already present on the host machine. Different from {@link #isAvailable()} which uses Selenium Manager to obtain
java/src/org/openqa/selenium/remote/WebDriverInfo.java:84
↓ 131 callers
Method
FindElements
(By by)
dotnet/test/webdriver/WebElementWrapper.cs:58
↓ 131 callers
Method
ThrowIfNull
<summary> Throws an <see cref="ArgumentNullException"/> if <paramref name="arg"/> is <see langword="null"/>. </summary> <param name="arg">The argument
dotnet/src/webdriver/Properties/ArgumentNullExceptionExtensions.cs:40
↓ 130 callers
Method
asMap
@return The capabilities as a Map.
java/src/org/openqa/selenium/Capabilities.java:65
↓ 130 callers
Method
map
(**)
rb/lib/selenium/webdriver/bidi/protocol/script.rb:185
↓ 130 callers
Method
size
Get the size of the element. Returns: The width and height of the element. Example: size = element.size
py/selenium/webdriver/remote/webelement.py:335
↓ 127 callers
Method
create
Creates a new instance of {@link HttpClient.Factory} with the given name. It uses {@link ServiceLoader} to find all available implementations and sele
java/src/org/openqa/selenium/remote/http/HttpClient.java:53
↓ 126 callers
Method
getCapability
@param capabilityName The capability to return. @return The value, or null if not set. @see org.openqa.selenium.remote.CapabilityType
java/src/org/openqa/selenium/Capabilities.java:72
↓ 123 callers
Method
empty
()
java/src/org/openqa/selenium/remote/http/Contents.java:76
↓ 121 callers
Method
right
(B b)
java/src/org/openqa/selenium/internal/Either.java:41
↓ 120 callers
Method
SendKeys
(string text)
dotnet/test/webdriver/WebElementWrapper.cs:88
↓ 120 callers
Method
getText
Get the visible (i.e. not hidden by CSS) text of this element, including sub-elements. <p>See <a href="https://w3c.github.io/webdriver/#get-element-t
java/src/org/openqa/selenium/WebElement.java:226
↓ 118 callers
Method
getUrl
()
java/src/org/openqa/selenium/grid/server/Server.java:27
↓ 117 callers
Method
call
(Method method, Object[] args)
java/src/org/openqa/selenium/support/decorators/Decorated.java:31
↓ 116 callers
Method
Manage
<summary> Instructs the driver to change its settings. </summary> <returns>An <see cref="IOptions"/> object allowing the user to change the settings o
dotnet/src/webdriver/WebDriver.cs:440
↓ 116 callers
Method
info
* Logs a message at the {@link Level.INFO} log level. * @param {(string|function(): string)} loggable the message to log, or a * function th
javascript/selenium-webdriver/lib/logging.js:394
↓ 114 callers
Method
executeScript
Executes JavaScript in the context of the currently selected frame or window. The script fragment provided will be executed as the body of an anonymou
java/src/org/openqa/selenium/JavascriptExecutor.java:66
↓ 113 callers
Method
equals
(Object o)
java/test/org/openqa/selenium/ReferrerTest.java:209
↓ 113 callers
Method
find_elements
(self, by, value)
py/test/unit/selenium/webdriver/support/select_tests.py:69
↓ 111 callers
Method
with
(Filter filter)
java/src/org/openqa/selenium/remote/http/Routable.java:24
↓ 110 callers
Method
create
(Page page)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:40
↓ 108 callers
Method
getValue
()
java/src/org/openqa/selenium/remote/Response.java:48
↓ 107 callers
Method
exists
()
java/src/org/openqa/selenium/internal/Require.java:310
↓ 107 callers
Method
size
(long size)
java/src/org/openqa/selenium/bidi/storage/CookieFilter.java:50
↓ 103 callers
Method
append
( StringBuilder builder, @Nullable X fromCookie, Function<X, String> value)
java/test/org/openqa/selenium/environment/webserver/CookieHandler.java:103
↓ 103 callers
Method
getValue
()
java/test/org/openqa/selenium/json/JsonTest.java:726
↓ 103 callers
Method
isEmpty
()
java/src/org/openqa/selenium/internal/Multimap.java:59
next →
1–100 of 25,221, ranked by callers