Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ functions
Functions
23,724 in github.com/SeleniumHQ/selenium
⨍
Functions
23,724
◇
Types & classes
5,143
↳
Endpoints
8
↓ 2,368 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,002 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
↓ 897 callers
Method
of
(String name)
java/src/org/openqa/selenium/grid/config/Role.java:31
↓ 762 callers
Method
FindElement
(By by)
dotnet/test/webdriver/WebElementWrapper.cs:53
↓ 751 callers
Method
nonNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:66
↓ 712 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:49
↓ 704 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
↓ 641 callers
Method
load
(self)
py/test/selenium/webdriver/common/results_page.py:31
↓ 630 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:886
↓ 550 callers
Method
toString
()
java/src/org/openqa/selenium/OutputType.java:46
↓ 537 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
↓ 517 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
↓ 495 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
↓ 437 callers
Method
execute
(String script, Object... args)
java/src/org/openqa/selenium/remote/Script.java:45
↓ 403 callers
Method
build
(data: unknown)
javascript/selenium-webdriver/bidi/serialization/union.d.ts:23
↓ 368 callers
Method
put
(String key, String value)
java/src/org/openqa/selenium/remote/tracing/AttributeMap.java:22
↓ 348 callers
Method
format
(LogRecord record)
java/src/org/openqa/selenium/grid/log/JsonFormatter.java:37
↓ 340 callers
Method
stream
()
java/src/org/openqa/selenium/internal/Either.java:76
↓ 329 callers
Method
map
(Function<? super B, ? extends R> mapper)
java/src/org/openqa/selenium/internal/Either.java:61
↓ 324 callers
Method
getName
()
java/src/org/openqa/selenium/cli/CliCommand.java:26
↓ 323 callers
Method
whereIs
(String relativeUrl)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:30
↓ 287 callers
Method
new
(*args, &block)
rb/lib/selenium/webdriver/bidi/struct.rb:25
↓ 277 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
↓ 267 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:255
↓ 254 callers
Method
filter
()
java/src/org/openqa/selenium/remote/http/ClientConfig.java:234
↓ 250 callers
Method
collect
(union: type[Union])
py/selenium/webdriver/common/_bidi/serialization.py:542
↓ 248 callers
Method
set
(C carrier, String key, String value)
java/src/org/openqa/selenium/remote/tracing/Propagator.java:31
↓ 246 callers
Method
Click
()
dotnet/test/webdriver/WebElementWrapper.cs:48
↓ 224 callers
Method
append
(String text)
java/src/org/openqa/selenium/json/JsonOutput.java:436
↓ 218 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
↓ 215 callers
Method
split
(String value)
java/src/org/openqa/selenium/grid/config/NonSplittingSplitter.java:36
↓ 212 callers
Method
log
()
java/src/org/openqa/selenium/devtools/idealized/Domains.java:38
↓ 207 callers
Method
setContent
(Supplier<InputStream> supplier)
java/src/org/openqa/selenium/remote/http/HttpMessage.java:207
↓ 206 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
↓ 205 callers
Method
now
()
java/test/org/openqa/selenium/support/ui/TickingClock.java:29
↓ 201 callers
Method
send
(Message message)
java/src/org/openqa/selenium/remote/http/WebSocket.java:29
↓ 201 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
↓ 196 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:184
↓ 192 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
↓ 191 callers
Method
perform
()
java/src/org/openqa/selenium/interactions/Action.java:22
↓ 188 callers
Function
execute
(command)
javascript/selenium-webdriver/test/remote_test.js:100
↓ 188 callers
Method
getText
()
java/src/org/openqa/selenium/Alert.java:25
↓ 188 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:160
↓ 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
↓ 178 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
↓ 178 callers
Method
isEmpty
()
java/test/org/openqa/selenium/internal/MultimapTest.java:73
↓ 176 callers
Method
is
(String browserName)
java/src/org/openqa/selenium/remote/Browser.java:38
↓ 174 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
↓ 172 callers
Method
url
(self, name, localhost=False)
py/conftest.py:594
↓ 171 callers
Method
Add
(ILogHandler handler)
dotnet/src/webdriver/Internal/Logging/LogHandlerList.cs:46
↓ 169 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
↓ 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:73
↓ 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:81
↓ 155 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
↓ 155 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
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
↓ 150 callers
Method
execute_script
Synchronously Executes JavaScript in the current window/frame. Args: script: The javascript to execute. *args: Any ap
py/selenium/webdriver/remote/webdriver.py:590
↓ 149 callers
Method
getId
()
java/src/org/openqa/selenium/grid/node/ActiveSession.java:29
↓ 148 callers
Method
quit
Quits this driver, closing every associated window.
java/src/org/openqa/selenium/WebDriver.java:156
↓ 146 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
↓ 144 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
↓ 140 callers
Method
load
(self, name)
py/test/selenium/webdriver/common/bidi/webextension_tests.py:116
↓ 139 callers
Method
end
()
javascript/selenium-webdriver/test/lib/webdriver_test.js:117
↓ 138 callers
Method
read
()
java/src/org/openqa/selenium/grid/web/Resource.java:33
↓ 135 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
↓ 134 callers
Method
format
(LogRecord record)
java/test/org/openqa/selenium/testing/CaptureLoggingRule.java:117
↓ 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:66
↓ 130 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
↓ 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:334
↓ 129 callers
Method
FindElements
(By by)
dotnet/test/webdriver/WebElementWrapper.cs:58
↓ 129 callers
Method
isEmpty
()
java/src/org/openqa/selenium/internal/Multimap.java:59
↓ 129 callers
Method
isNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:80
↓ 129 callers
Method
window
@return the interface for managing the current window.
java/src/org/openqa/selenium/WebDriver.java:274
↓ 128 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
↓ 127 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:73
↓ 124 callers
Method
empty
()
java/src/org/openqa/selenium/remote/http/Contents.java:76
↓ 123 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:82
↓ 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
↓ 120 callers
Method
right
(B b)
java/src/org/openqa/selenium/internal/Either.java:41
↓ 118 callers
Method
map
(**)
rb/lib/selenium/webdriver/bidi/protocol/script.rb:185
↓ 117 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
↓ 111 callers
Method
find_elements
Find elements given a By strategy and locator. Args: by: The locating strategy to use. Default is `By.ID`. Supported
py/selenium/webdriver/remote/webdriver.py:912
↓ 110 callers
Method
with
(Filter filter)
java/src/org/openqa/selenium/remote/http/Routable.java:24
↓ 110 callers
Method
write
Serialize the specified Java object as a JSON value.<br> <b>NOTE</b>: This method limits traversal of nested objects to the default {@link #MAX_DEPTH
java/src/org/openqa/selenium/json/JsonOutput.java:384
↓ 108 callers
Method
call
(Method method, Object[] args)
java/src/org/openqa/selenium/support/decorators/Decorated.java:31
↓ 108 callers
Method
getUrl
()
java/src/org/openqa/selenium/grid/server/Server.java:27
↓ 108 callers
Method
getValue
()
java/src/org/openqa/selenium/remote/Response.java:70
↓ 106 callers
Method
create
(Page page)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:40
↓ 104 callers
Method
equals
(Object o)
java/test/org/openqa/selenium/ReferrerTest.java:209
↓ 101 callers
Method
append
( StringBuilder builder, @Nullable X fromCookie, Function<X, String> value)
java/test/org/openqa/selenium/environment/webserver/CookieHandler.java:103
↓ 98 callers
Method
asJson
@return an {@link Supplier} containing the object converted to a UTF-8 JSON string.
java/src/org/openqa/selenium/remote/http/Contents.java:160
↓ 96 callers
Method
sendKeys
Use this method to simulate typing into an element, which may set its value. <p>See <a href="https://w3c.github.io/webdriver/#element-send-keys">W3C
java/src/org/openqa/selenium/WebElement.java:70
↓ 96 callers
Method
size
(long size)
java/src/org/openqa/selenium/bidi/storage/CookieFilter.java:50
next →
1–100 of 23,724, ranked by callers