Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ functions
Functions
25,125 in github.com/SeleniumHQ/selenium
⨍
Functions
25,125
◇
Types & classes
5,288
↳
Endpoints
6
↓ 2,546 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
↓ 938 callers
Method
of
(String name)
java/src/org/openqa/selenium/grid/config/Role.java:31
↓ 764 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
↓ 734 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
↓ 662 callers
Method
load
(self)
py/test/selenium/webdriver/common/results_page.py:31
↓ 636 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
↓ 587 callers
Method
toString
()
java/src/org/openqa/selenium/OutputType.java:46
↓ 539 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
↓ 539 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
↓ 528 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
↓ 408 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
↓ 355 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
↓ 332 callers
Method
getName
()
java/src/org/openqa/selenium/cli/CliCommand.java:26
↓ 314 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
↓ 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
↓ 295 callers
Method
new
(*args, &block)
rb/lib/selenium/webdriver/bidi/struct.rb:25
↓ 285 callers
Method
set
(C carrier, String key, String value)
java/src/org/openqa/selenium/remote/tracing/Propagator.java:31
↓ 268 callers
Method
filter
()
java/src/org/openqa/selenium/remote/http/ClientConfig.java:234
↓ 262 callers
Method
collect
(union: type[Union])
py/selenium/webdriver/common/_bidi/serialization.py:599
↓ 258 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
↓ 233 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
↓ 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
↓ 207 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
↓ 207 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
Function
execute
(command)
javascript/selenium-webdriver/test/remote_test.js:100
↓ 204 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
↓ 204 callers
Method
forEach
(BiConsumer<K, V> consumer)
java/src/org/openqa/selenium/internal/Multimap.java:71
↓ 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
↓ 191 callers
Method
perform
()
java/src/org/openqa/selenium/interactions/Action.java:22
↓ 188 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
↓ 188 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
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:639
↓ 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
↓ 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
↓ 166 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
↓ 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
↓ 156 callers
Method
getId
()
java/src/org/openqa/selenium/grid/node/ActiveSession.java:29
↓ 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
↓ 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
↓ 151 callers
Method
execute_script
(self, script, *args)
py/test/unit/selenium/webdriver/common/accessibility_snapshot_tests.py:233
↓ 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
↓ 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
window
@return the interface for managing the current window.
java/src/org/openqa/selenium/WebDriver.java:274
↓ 133 callers
Method
format
(LogRecord record)
java/test/org/openqa/selenium/testing/CaptureLoggingRule.java:121
↓ 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
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
↓ 128 callers
Method
map
(**)
rb/lib/selenium/webdriver/bidi/protocol/script.rb:185
↓ 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
↓ 117 callers
Method
getUrl
()
java/src/org/openqa/selenium/grid/server/Server.java:27
↓ 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
↓ 115 callers
Method
find_elements
(self, by, value)
py/test/unit/selenium/webdriver/support/select_tests.py:69
↓ 115 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:399
↓ 114 callers
Method
call
(Method method, Object[] args)
java/src/org/openqa/selenium/support/decorators/Decorated.java:31
↓ 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
↓ 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,125, ranked by callers