MCPcopy Create free account

hub / github.com/SeleniumHQ/selenium / functions

Functions22,613 in github.com/SeleniumHQ/selenium

↓ 2,270 callersMethodget
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 callersMethodfindElement
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 callersMethodof
(String name)
java/src/org/openqa/selenium/grid/config/Role.java:31
↓ 779 callersMethodload
(self)
py/test/selenium/webdriver/common/results_page.py:31
↓ 762 callersMethodFindElement
(By by)
dotnet/test/webdriver/WebElementWrapper.cs:53
↓ 750 callersMethodnonNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:66
↓ 711 callersMethodid
@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 callersMethoduntil
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 callersMethodfind_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 callersMethodtoString
()
java/src/org/openqa/selenium/OutputType.java:46
↓ 537 callersMethodId
<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 callersMethodclick
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 callersMethodadd
Add a node to this registry. @param node The node to add.
java/src/org/openqa/selenium/grid/distributor/NodeRegistry.java:52
↓ 430 callersMethodexecute
(String script, Object... args)
java/src/org/openqa/selenium/remote/Script.java:45
↓ 407 callersMethodmap
(Function<? super B, ? extends R> mapper)
java/src/org/openqa/selenium/internal/Either.java:61
↓ 368 callersMethodput
(String key, String value)
java/src/org/openqa/selenium/remote/tracing/AttributeMap.java:22
↓ 347 callersMethodformat
(LogRecord record)
java/src/org/openqa/selenium/grid/log/JsonFormatter.java:37
↓ 339 callersMethodstream
()
java/src/org/openqa/selenium/internal/Either.java:76
↓ 323 callersMethodwhereIs
(String relativeUrl)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:30
↓ 320 callersMethodgetName
()
java/src/org/openqa/selenium/cli/CliCommand.java:26
↓ 276 callersMethodgetAttribute
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 callersMethodbuild
()
java/src/org/openqa/selenium/Cookie.java:351
↓ 247 callersMethodnew
(*args, &block)
rb/lib/selenium/webdriver/bidi/struct.rb:25
↓ 246 callersMethodClick
()
dotnet/test/webdriver/WebElementWrapper.cs:48
↓ 245 callersMethodfilter
()
java/src/org/openqa/selenium/remote/http/ClientConfig.java:234
↓ 240 callersMethodset
(C carrier, String key, String value)
java/src/org/openqa/selenium/remote/tracing/Propagator.java:31
↓ 218 callersMethodgetWindowHandle
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 callersMethodlog
()
java/src/org/openqa/selenium/devtools/idealized/Domains.java:38
↓ 205 callersMethodnow
()
java/test/org/openqa/selenium/support/ui/TickingClock.java:29
↓ 203 callersMethodappend
(String text)
java/src/org/openqa/selenium/json/JsonOutput.java:436
↓ 203 callersMethodsetContent
(Supplier<InputStream> supplier)
java/src/org/openqa/selenium/remote/http/HttpMessage.java:207
↓ 201 callersMethodswitchTo
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 callersMethodsplit
(String value)
java/src/org/openqa/selenium/grid/config/NonSplittingSplitter.java:36
↓ 195 callersMethodforEach
(BiConsumer<K, V> consumer)
java/src/org/openqa/selenium/internal/Multimap.java:71
↓ 191 callersMethodperform
()
java/src/org/openqa/selenium/interactions/Action.java:22
↓ 190 callersMethodsend
(Message message)
java/src/org/openqa/selenium/remote/http/WebSocket.java:29
↓ 188 callersMethodgetText
()
java/src/org/openqa/selenium/Alert.java:25
↓ 187 callersMethodget
(String section, String option)
java/src/org/openqa/selenium/grid/config/Config.java:38
↓ 185 callersFunctionexecute
(command)
javascript/selenium-webdriver/test/remote_test.js:100
↓ 183 callersMethodGetAttribute
(string attributeName)
dotnet/test/webdriver/WebElementWrapper.cs:63
↓ 183 callersMethodto
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 callersMethodisEmpty
()
java/test/org/openqa/selenium/internal/MultimapTest.java:73
↓ 174 callersMethodget_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 callersMethodframe
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 callersMethodgetLogger
* 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 callersMethodtoType
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 callersMethodAdd
(ILogHandler handler)
dotnet/src/webdriver/Internal/Logging/LogHandlerList.cs:46
↓ 169 callersMethodfindElements
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 callersMethodclose
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 callersMethodis
(String browserName)
java/src/org/openqa/selenium/remote/Browser.java:38
↓ 167 callersMethodWhereIs
(string page)
dotnet/test/testing.webserver/UrlBuilder.cs:56
↓ 164 callersMethodname
@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 callersMethodtagName
@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 callersMethodName
<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 callersMethodgetClass
(String section, String option, Class<X> typeOfClass, String defaultClazz)
java/src/org/openqa/selenium/grid/config/Config.java:69
↓ 149 callersMethodgetId
()
java/src/org/openqa/selenium/grid/node/ActiveSession.java:29
↓ 146 callersMethodSwitchTo
<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 callersMethodquit
Quits this driver, closing every associated window.
java/src/org/openqa/selenium/WebDriver.java:156
↓ 143 callersMethodmanage
Gets the Option interface @return An option interface @see org.openqa.selenium.WebDriver.Options
java/src/org/openqa/selenium/WebDriver.java:203
↓ 142 callersMethodfind
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 callersMethodend
()
javascript/selenium-webdriver/test/lib/webdriver_test.js:117
↓ 137 callersMethodexecute_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 callersMethodread
()
java/src/org/openqa/selenium/grid/web/Resource.java:33
↓ 134 callersMethodformat
(LogRecord record)
java/test/org/openqa/selenium/testing/CaptureLoggingRule.java:117
↓ 133 callersMethodremove
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 callersMethodThrowIfNull
<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 callersMethodsize
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 callersMethodFindElements
(By by)
dotnet/test/webdriver/WebElementWrapper.cs:58
↓ 129 callersMethodasMap
@return The capabilities as a Map.
java/src/org/openqa/selenium/Capabilities.java:66
↓ 129 callersMethodisPresent
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 callersMethodisEmpty
()
java/src/org/openqa/selenium/internal/Multimap.java:59
↓ 125 callersMethodurl
(self, name, localhost=False)
py/conftest.py:594
↓ 124 callersMethodempty
()
java/src/org/openqa/selenium/remote/http/Contents.java:76
↓ 122 callersMethodisNull
(String argName, @Nullable T arg)
java/src/org/openqa/selenium/internal/Require.java:80
↓ 120 callersMethodSendKeys
(string text)
dotnet/test/webdriver/WebElementWrapper.cs:88
↓ 120 callersMethodgetText
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 callersMethodManage
<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 callersMethodinfo
* 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 callersMethodexecuteScript
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 callersMethodgetCapability
@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 callersMethodfind_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 callersMethodwindow
@return the interface for managing the current window.
java/src/org/openqa/selenium/WebDriver.java:274
↓ 110 callersMethodwith
(Filter filter)
java/src/org/openqa/selenium/remote/http/Routable.java:24
↓ 108 callersMethodgetUrl
()
java/src/org/openqa/selenium/grid/server/Server.java:27
↓ 108 callersMethodgetValue
()
java/src/org/openqa/selenium/remote/Response.java:70
↓ 107 callersMethodright
(B b)
java/src/org/openqa/selenium/internal/Either.java:41
↓ 107 callersMethodwrite
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 callersMethodequals
(Object o)
java/test/org/openqa/selenium/ReferrerTest.java:209
↓ 103 callersMethodcall
(Method method, Object[] args)
java/src/org/openqa/selenium/support/decorators/Decorated.java:31
↓ 102 callersMethodnavigate
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 callersMethodappend
( StringBuilder builder, @Nullable X fromCookie, Function<X, String> value)
java/test/org/openqa/selenium/environment/webserver/CookieHandler.java:103
↓ 100 callersMethodcreate
(Page page)
java/test/org/openqa/selenium/environment/webserver/AppServer.java:40
↓ 97 callersMethodcreate
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 callersMethodsendKeys
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 callersMethodFrame
<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 callersMethodasJson
@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 callersMethodsize
(long size)
java/src/org/openqa/selenium/bidi/storage/CookieFilter.java:50
↓ 93 callersMethodstart
()
java/test/org/openqa/selenium/environment/webserver/AppServer.java:42
↓ 92 callersMethodisEmpty
()
java/src/org/openqa/selenium/grid/sessionmap/local/LocalSessionMap.java:305
↓ 90 callersMethodequals
(Object o)
java/src/org/openqa/selenium/grid/data/Slot.java:114
next →1–100 of 22,613, ranked by callers