MCPcopy Create free account

hub / github.com/SeleniumHQ/selenium / functions

Functions23,724 in github.com/SeleniumHQ/selenium

↓ 54 callersMethodfindElements
Find all elements within the current context using the given mechanism. When using xpath be aware that webdriver follows standard conventions: a searc
java/src/org/openqa/selenium/WebElement.java:245
↓ 53 callersMethodapply
(Type type)
java/src/org/openqa/selenium/json/UrlCoercer.java:32
↓ 53 callersMethodexecute
Sends a command to be executed by a command.CommandExecutor. Args: driver_command: The name of the command to execute as a string
py/selenium/webdriver/remote/webdriver.py:466
↓ 53 callersMethodgetResult
()
java/src/org/openqa/selenium/bidi/script/EvaluateResultSuccess.java:45
↓ 53 callersMethodhas
* @param {string} path File path to test for within the archive. * @return {boolean} Whether this zip archive contains an entry with the given *
javascript/selenium-webdriver/io/zip.js:96
↓ 53 callersMethodisSelected
Determine whether this element is selected or not. This operation only applies to input elements such as checkboxes, options in a select and radio but
java/src/org/openqa/selenium/WebElement.java:205
↓ 53 callersMethodtoMap
()
java/src/org/openqa/selenium/bidi/webextension/ExtensionData.java:25
↓ 52 callersMethodcommands_named
(self, method)
py/test/unit/selenium/webdriver/common/bidi_network_tests.py:64
↓ 52 callersMethodcreateSpan
(String name)
java/src/org/openqa/selenium/remote/tracing/TraceContext.java:24
↓ 50 callersMethodexists
(&mut self)
rust/src/lock.rs:72
↓ 50 callersMethodfetch
Send an HTTP request with a custom method. Args: url: The request URL (absolute or relative to base_url). method: The
py/selenium/webdriver/common/api_request_context.py:345
↓ 50 callersMethodskipValue
()
java/src/org/openqa/selenium/json/JsonInput.java:450
↓ 49 callersMethodargs
* Gets the arguments associated with the log entry. * @returns {Array} The arguments associated with the log entry.
javascript/selenium-webdriver/bidi/logEntries.js:133
↓ 49 callersMethodexecuteAsyncScript
Execute an asynchronous piece of JavaScript in the context of the currently selected frame or window. Unlike executing {@link #executeScript(String, O
java/src/org/openqa/selenium/JavascriptExecutor.java:142
↓ 49 callersMethodfindFreePort
()
java/src/org/openqa/selenium/net/PortProber.java:90
↓ 49 callersMethodgetSession
(SessionId id)
java/test/org/openqa/selenium/grid/node/ProxyNodeWebsocketsTest.java:125
↓ 49 callersMethodget_cookies
Get all cookies visible to the current WebDriver instance. Returns: A list of dictionaries, corresponding to cookies visible in t
py/selenium/webdriver/remote/webdriver.py:732
↓ 49 callersMethodkeys
* @return {!Iterator<string>} an iterator of the keys set.
javascript/selenium-webdriver/lib/capabilities.js:319
↓ 49 callersMethodperform_actions
@api private @see https://www.selenium.dev/documentation/warnings/bidi-implementation/ @see https://w3c.github.io/webdriver-bidi/#command-input-perfor
rb/lib/selenium/webdriver/bidi/protocol/input.rb:330
↓ 48 callersMethodmerge
Merge two {@link Capabilities} together and return the union of the two as a new {@link Capabilities} instance. Capabilities from {@code other} will o
java/src/org/openqa/selenium/Capabilities.java:102
↓ 47 callersMethodcreate_user_context
rb/lib/selenium/webdriver/bidi/browser.rb:40
↓ 47 callersMethodgetMessage
()
java/test/org/openqa/selenium/json/JsonInputTest.java:537
↓ 47 callersMethodgetMessage
()
java/src/org/openqa/selenium/grid/node/HealthCheck.java:41
↓ 47 callersMethodof
(String name, Consumer<X> delegate)
java/src/org/openqa/selenium/devtools/Connection.java:131
↓ 47 callersMethodstream
Stream the {@link Capabilities} encoded in the payload used to create this instance. The {@link Stream} will expand each of the "{@code firstMatch}" a
java/src/org/openqa/selenium/remote/NewSessionPayload.java:219
↓ 46 callersMethodCssSelector
<summary> Gets a mechanism to find elements by their cascading style sheet (CSS) selector. </summary> <param name="cssSelectorToFind">The CSS selector
dotnet/src/webdriver/By.cs:305
↓ 46 callersMethodconvert
(Object toConvert)
java/test/org/openqa/selenium/json/JsonOutputTest.java:773
↓ 46 callersMethodgetNodeId
()
java/src/org/openqa/selenium/grid/data/NodeStatus.java:163
↓ 46 callersMethodpath
rb/lib/selenium/webdriver/edge.rb:34
↓ 46 callersMethodwait
@override
javascript/selenium-webdriver/lib/webdriver.js:857
↓ 45 callersMethodExecute
<summary> Executes a command with this driver. </summary> <param name="driverCommandToExecute">A <see cref="DriverCommand"/> value representing the co
dotnet/src/webdriver/WebDriver.cs:562
↓ 45 callersMethodcopy
(File from, File to)
java/src/org/openqa/selenium/io/FileHandler.java:105
↓ 45 callersMethodfrom_json
(self, params: Any)
py/private/_script_handlers.py:360
↓ 45 callersMethodkeySet
()
java/src/org/openqa/selenium/internal/Multimap.java:67
↓ 45 callersMethodwithMessage
Sets the message to be displayed when time expires. @param message to be appended to default. @return A self reference.
java/src/org/openqa/selenium/support/ui/FluentWait.java:121
↓ 44 callersFunctionget_selenium_manager
()
rust/tests/common.rs:32
↓ 44 callersMethodinterrupt
(List<WorkerThread> threads)
java/test/org/openqa/selenium/ParallelTestRunner.java:95
↓ 43 callersMethodempty
()
java/src/org/openqa/selenium/devtools/ConverterFunctions.java:58
↓ 43 callersMethodgetAvailability
()
java/src/org/openqa/selenium/grid/data/NodeStatus.java:179
↓ 43 callersMethodgetCssValue
Get the value of a given CSS property. Color values could be returned as rgba or rgb strings. This depends on whether the browser omits the implicit o
java/src/org/openqa/selenium/WebElement.java:334
↓ 43 callersMethoditerator
()
java/src/org/openqa/selenium/internal/Either.java:71
↓ 42 callersMethodcheck_response
Check that a JSON response from the WebDriver does not have an error. Args: response: The JSON response from the WebDriver server
py/selenium/webdriver/remote/errorhandler.py:145
↓ 42 callersMethodfail
Fail the request. Takes precedence over stubbed responses and mutations when multiple handlers act on the same request.
py/private/_network_handlers.py:325
↓ 42 callersFunctionsuite
* Defines a test suite by calling the provided function once for each of the * target browsers. If a suite is not limited to a specific set of browse
javascript/selenium-webdriver/testing/index.js:421
↓ 42 callersMethodvalueResponder
(Object value)
java/test/org/openqa/selenium/remote/WebDriverFixture.java:156
↓ 42 callersMethodvisibilityOfElementLocated
An expectation for checking that an element is present on the DOM of a page and visible. Visibility means that the element is not only displayed but a
java/src/org/openqa/selenium/support/ui/ExpectedConditions.java:214
↓ 41 callersMethodDefaultContent
<summary> Change the active frame to the default </summary> <returns>Element of the default</returns>
dotnet/src/webdriver/TargetLocator.cs:205
↓ 41 callersMethodaddAll
()
java/test/org/openqa/selenium/internal/MultimapTest.java:61
↓ 41 callersMethodadd_request_handler
(*filter, pattern_type: nil, &block)
rb/lib/selenium/webdriver/common/network.rb:65
↓ 41 callersMethodbuilder
()
java/src/org/openqa/selenium/remote/RemoteWebDriver.java:249
↓ 41 callersMethodsetCapability
(String capabilityName, boolean value)
java/src/org/openqa/selenium/MutableCapabilities.java:73
↓ 41 callersMethodsetHeader
Removes all headers with the {@code name} (case-insensitive) and adds a header with the {@code value}. @param name the name of the header, case-insen
java/src/org/openqa/selenium/remote/http/HttpMessage.java:135
↓ 41 callersMethodset_cookie
@api private @see https://www.selenium.dev/documentation/warnings/bidi-implementation/ @see https://w3c.github.io/webdriver-bidi/#command-storage-setC
rb/lib/selenium/webdriver/bidi/protocol/storage.rb:175
↓ 40 callersMethodTryGetValue
(out T value)
dotnet/src/webdriver/BiDi/Optional.cs:37
↓ 40 callersMethodaddEvent
(String name)
java/src/org/openqa/selenium/remote/tracing/Span.java:30
↓ 40 callersMethodassertThatEither
(Either<A, B> either)
java/test/org/openqa/selenium/grid/node/NodeTest.java:117
↓ 40 callersMethodcreateSessionRequest
(Capabilities caps)
java/test/org/openqa/selenium/grid/node/NodeTest.java:1292
↓ 40 callersMethodfrom
Convert a string, which may just be a hostname, into a valid {@link URI}. If no scheme is given, it is set to {@code http} by default. <p>We prefer t
java/src/org/openqa/selenium/net/Urls.java:72
↓ 40 callersMethodoneOf
Clears the current set of alternative browsers and instead sets the list of possible choices to the arguments given to this method.
java/src/org/openqa/selenium/remote/RemoteWebDriverBuilder.java:113
↓ 40 callersMethodwindow_handle
rb/lib/selenium/webdriver/common/driver.rb:223
↓ 39 callersMethodalertIsPresent
()
java/src/org/openqa/selenium/support/ui/ExpectedConditions.java:936
↓ 39 callersMethodapply
( CreateSessionRequest createSessionRequest)
java/test/org/openqa/selenium/grid/node/NodeTest.java:454
↓ 39 callersMethodequals
(Object o)
java/src/org/openqa/selenium/events/Event.java:75
↓ 39 callersMethodgetHost
()
java/src/org/openqa/selenium/grid/node/config/DriverServiceSessionFactory.java:331
↓ 38 callersMethodgetDebugLogLevel
()
java/src/org/openqa/selenium/internal/Debug.java:47
↓ 38 callersMethodnewInput
(String raw)
java/test/org/openqa/selenium/json/JsonInputTest.java:524
↓ 38 callersMethodtext
Gets the text of the Alert.
py/selenium/webdriver/common/alert.py:56
↓ 38 callersMethodwarn
(&self, message: T)
rust/src/logger.rs:161
↓ 37 callersMethodAsSuccessResult
()
dotnet/src/webdriver/BiDi/Script/Evaluate.cs:50
↓ 37 callersMethodcharAt
(int index)
java/src/org/openqa/selenium/Keys.java:147
↓ 37 callersMethodgetDomAttribute
Get the value of the given attribute of the element. <p>This method, unlike {@link #getAttribute(String)}, returns the value of the attribute with th
java/src/org/openqa/selenium/WebElement.java:126
↓ 37 callersMethodhash
rb/lib/selenium/webdriver/common/element.rb:48
↓ 36 callersMethodToString
()
dotnet/test/testing.webserver/InlinePage.cs:70
↓ 36 callersFunctionbe
(s,e,t)
common/src/web/js/jquery-3.5.1.min.js:2
↓ 36 callersMethodcallFunctionInBrowsingContext
( String browsingContextId, String functionDeclaration, boolean awaitPromise, Optional
java/src/org/openqa/selenium/bidi/module/Script.java:154
↓ 36 callersMethodcreateAttributeMap
()
java/src/org/openqa/selenium/remote/tracing/Tracer.java:26
↓ 36 callersMethodcss
* Creates a new Locator object with CSS selector type. * * @param {string} value - The CSS selector value. * @returns {Locator} A new Locator
javascript/selenium-webdriver/bidi/browsingContext.js:56
↓ 36 callersMethodelement
cpp/iedriver/Element.h:77
↓ 36 callersMethodexecuteScript
(String script, Object... args)
java/test/org/openqa/selenium/ExecutingJavascriptTest.java:59
↓ 36 callersMethodgetHeader
See {@link #getHeader(String)}
java/src/org/openqa/selenium/remote/http/HttpMessage.java:105
↓ 36 callersMethodmatch
@return A {@link Match} with all parameters filled if successful, null otherwise.
java/src/org/openqa/selenium/remote/http/UrlTemplate.java:135
↓ 36 callersMethodstop
()
java/src/org/openqa/selenium/grid/node/ActiveSession.java:57
↓ 35 callersMethodAddCookie
<summary> Method for creating a cookie in the browser </summary> <param name="cookie"><see cref="Cookie"/> that represents a cookie in the browser</pa
dotnet/src/webdriver/CookieJar.cs:57
↓ 35 callersMethodLinkText
<summary> Gets a mechanism to find elements by their link text. </summary> <param name="linkTextToFind">The link text to find.</param> <returns>A <see
dotnet/src/webdriver/By.cs:175
↓ 35 callersMethodNavigate
<summary> Instructs the driver to navigate the browser to another location. </summary> <returns>An <see cref="INavigation"/> object allowing the user
dotnet/src/webdriver/WebDriver.cs:450
↓ 35 callersFunctiondispatch_event
Invoke the registry's subscribed callback as the WebSocket would.
py/test/unit/selenium/webdriver/common/bidi_network_tests.py:152
↓ 35 callersMethodfindContainerByName
(@Nullable List<Container> containers, String name)
java/src/org/openqa/selenium/grid/node/kubernetes/KubernetesSessionFactory.java:960
↓ 35 callersMethodfromString
(String value)
java/src/org/openqa/selenium/support/Color.java:48
↓ 35 callersMethodgetInt
(String section, String option)
java/src/org/openqa/selenium/grid/config/Config.java:42
↓ 35 callersMethodisDirectory
()
java/src/org/openqa/selenium/grid/web/Resource.java:29
↓ 35 callersMethodtrace
(&self, message: T)
rust/src/logger.rs:178
↓ 34 callersMethodBuild
<summary> Builds the sequence of actions. </summary> <returns>A composite <see cref="IAction"/> which can be used to perform the actions.</returns>
dotnet/src/webdriver/Interactions/Actions.cs:593
↓ 34 callersFunction_cookie_matches
Check if a browser cookie should be sent with a request to the given URL. Evaluates expiry, domain, path, and secure attribute matching per RFC 6
py/selenium/webdriver/common/api_request_context.py:101
↓ 34 callersMethodadd_cookie
Adds a cookie to your current session. Args: cookie_dict: A dictionary object, with required keys - "name" and "v
py/selenium/webdriver/remote/webdriver.py:780
↓ 34 callersMethodbind
(Map<String, String> volumeBinds)
java/src/org/openqa/selenium/docker/ContainerConfig.java:201
↓ 34 callersMethodclose
Called once when the {@code LocalNode} shuts down. Implementations should release any resources acquired in {@link #initialize} (thread pools, open fi
java/src/org/openqa/selenium/grid/node/NodeCommandInterceptor.java:76
↓ 34 callersMethoddefaultContent
Selects either the first frame on the page, or the main document when a page contains iframes. <p>See <a href="https://w3c.github.io/webdriver/#switc
java/src/org/openqa/selenium/WebDriver.java:467
↓ 34 callersMethodgetCurrent
Get current platform (not necessarily the same as operating system). @return current platform
java/src/org/openqa/selenium/Platform.java:387
↓ 34 callersMethodget_os
(&self)
rust/src/lib.rs:1374
↓ 34 callersMethodmap
(final String keyName, Type typeOfX)
java/src/org/openqa/selenium/devtools/ConverterFunctions.java:28
← previousnext →201–300 of 23,724, ranked by callers