Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ functions
Functions
22,613 in github.com/SeleniumHQ/selenium
⨍
Functions
22,613
◇
Types & classes
4,962
↳
Endpoints
8
↓ 2,270 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,001 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
↓ 889 callers
Method
of
(String name)
java/src/org/openqa/selenium/grid/config/Role.java:31
↓ 779 callers
Method
load
(self)
py/test/selenium/webdriver/common/results_page.py:31
↓ 762 callers
Method
FindElement
(By by)
dotnet/test/webdriver/WebElementWrapper.cs:53
↓ 750 callers
Method
nonNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:66
↓ 711 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
↓ 673 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
↓ 590 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:875
↓ 545 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
↓ 509 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
↓ 475 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
↓ 430 callers
Method
execute
(String script, Object... args)
java/src/org/openqa/selenium/remote/Script.java:45
↓ 407 callers
Method
map
(Function<? super B, ? extends R> mapper)
java/src/org/openqa/selenium/internal/Either.java:61
↓ 368 callers
Method
put
(String key, String value)
java/src/org/openqa/selenium/remote/tracing/AttributeMap.java:22
↓ 347 callers
Method
format
(LogRecord record)
java/src/org/openqa/selenium/grid/log/JsonFormatter.java:37
↓ 339 callers
Method
stream
()
java/src/org/openqa/selenium/internal/Either.java:76
↓ 323 callers
Method
whereIs
(String relativeUrl)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:30
↓ 320 callers
Method
getName
()
java/src/org/openqa/selenium/cli/CliCommand.java:26
↓ 276 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
↓ 251 callers
Method
build
()
java/src/org/openqa/selenium/Cookie.java:351
↓ 247 callers
Method
new
(*args, &block)
rb/lib/selenium/webdriver/bidi/struct.rb:25
↓ 246 callers
Method
Click
()
dotnet/test/webdriver/WebElementWrapper.cs:48
↓ 245 callers
Method
filter
()
java/src/org/openqa/selenium/remote/http/ClientConfig.java:234
↓ 240 callers
Method
set
(C carrier, String key, String value)
java/src/org/openqa/selenium/remote/tracing/Propagator.java:31
↓ 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
↓ 213 callers
Method
log
()
java/src/org/openqa/selenium/devtools/idealized/Domains.java:38
↓ 205 callers
Method
now
()
java/test/org/openqa/selenium/support/ui/TickingClock.java:29
↓ 203 callers
Method
append
(String text)
java/src/org/openqa/selenium/json/JsonOutput.java:436
↓ 203 callers
Method
setContent
(Supplier<InputStream> supplier)
java/src/org/openqa/selenium/remote/http/HttpMessage.java:207
↓ 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
split
(String value)
java/src/org/openqa/selenium/grid/config/NonSplittingSplitter.java:36
↓ 195 callers
Method
forEach
(BiConsumer<K, V> consumer)
java/src/org/openqa/selenium/internal/Multimap.java:71
↓ 191 callers
Method
perform
()
java/src/org/openqa/selenium/interactions/Action.java:22
↓ 190 callers
Method
send
(Message message)
java/src/org/openqa/selenium/remote/http/WebSocket.java:29
↓ 188 callers
Method
getText
()
java/src/org/openqa/selenium/Alert.java:25
↓ 187 callers
Method
get
(String section, String option)
java/src/org/openqa/selenium/grid/config/Config.java:38
↓ 185 callers
Function
execute
(command)
javascript/selenium-webdriver/test/remote_test.js:100
↓ 183 callers
Method
GetAttribute
(string attributeName)
dotnet/test/webdriver/WebElementWrapper.cs:63
↓ 183 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
↓ 176 callers
Method
isEmpty
()
java/test/org/openqa/selenium/internal/MultimapTest.java:73
↓ 174 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
↓ 173 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
↓ 173 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:452
↓ 172 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
↓ 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
↓ 168 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
↓ 168 callers
Method
is
(String browserName)
java/src/org/openqa/selenium/remote/Browser.java:38
↓ 167 callers
Method
WhereIs
(string page)
dotnet/test/testing.webserver/UrlBuilder.cs:56
↓ 164 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
↓ 160 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
↓ 149 callers
Method
getId
()
java/src/org/openqa/selenium/grid/node/ActiveSession.java:29
↓ 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
↓ 146 callers
Method
quit
Quits this driver, closing every associated window.
java/src/org/openqa/selenium/WebDriver.java:156
↓ 143 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
↓ 142 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
↓ 139 callers
Method
end
()
javascript/selenium-webdriver/test/lib/webdriver_test.js:117
↓ 137 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:579
↓ 135 callers
Method
read
()
java/src/org/openqa/selenium/grid/web/Resource.java:33
↓ 134 callers
Method
format
(LogRecord record)
java/test/org/openqa/selenium/testing/CaptureLoggingRule.java:117
↓ 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
↓ 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
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
asMap
@return The capabilities as a Map.
java/src/org/openqa/selenium/Capabilities.java:66
↓ 129 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
↓ 128 callers
Method
isEmpty
()
java/src/org/openqa/selenium/internal/Multimap.java:59
↓ 125 callers
Method
url
(self, name, localhost=False)
py/conftest.py:594
↓ 124 callers
Method
empty
()
java/src/org/openqa/selenium/remote/http/Contents.java:76
↓ 122 callers
Method
isNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:80
↓ 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
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
↓ 117 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:391
↓ 116 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
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
↓ 110 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:901
↓ 110 callers
Method
window
@return the interface for managing the current window.
java/src/org/openqa/selenium/WebDriver.java:274
↓ 110 callers
Method
with
(Filter filter)
java/src/org/openqa/selenium/remote/http/Routable.java:24
↓ 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
↓ 107 callers
Method
right
(B b)
java/src/org/openqa/selenium/internal/Either.java:41
↓ 107 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
↓ 104 callers
Method
equals
(Object o)
java/test/org/openqa/selenium/ReferrerTest.java:209
↓ 103 callers
Method
call
(Method method, Object[] args)
java/src/org/openqa/selenium/support/decorators/Decorated.java:31
↓ 102 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
↓ 100 callers
Method
append
( StringBuilder builder, @Nullable X fromCookie, Function<X, String> value)
java/test/org/openqa/selenium/environment/webserver/CookieHandler.java:103
↓ 100 callers
Method
create
(Page page)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:40
↓ 97 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
↓ 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
↓ 95 callers
Method
Frame
<summary> Move to a different frame using its index </summary> <param name="frameIndex">The index of the </param> <returns>A WebDriver instance that i
dotnet/src/webdriver/TargetLocator.cs:49
↓ 94 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
↓ 94 callers
Method
size
(long size)
java/src/org/openqa/selenium/bidi/storage/CookieFilter.java:50
↓ 93 callers
Method
start
()
java/test/org/openqa/selenium/environment/webserver/AppServer.java:42
↓ 92 callers
Method
isEmpty
()
java/src/org/openqa/selenium/grid/sessionmap/local/LocalSessionMap.java:305
↓ 90 callers
Method
equals
(Object o)
java/src/org/openqa/selenium/grid/data/Slot.java:114
next →
1–100 of 22,613, ranked by callers