Skip to content

Commit 67774a7

Browse files
authored
Merge branch 'SeleniumHQ:trunk' into py-daemon-threads
2 parents 874daa1 + fde053a commit 67774a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+244
-200
lines changed

dotnet/src/webdriver/InvalidSelectorException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class InvalidSelectorException : WebDriverException
3030
/// <summary>
3131
/// Link to the documentation for this error
3232
/// </summary>
33-
private static string supportUrl = baseSupportUrl + "#invalid-selector-exception";
33+
private static string supportUrl = baseSupportUrl + "#invalidselectorexception";
3434

3535
/// <summary>
3636
/// Initializes a new instance of the <see cref="InvalidSelectorException"/> class.

dotnet/src/webdriver/NoSuchElementException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class NoSuchElementException : NotFoundException
3131
/// <summary>
3232
/// Link to the documentation for this error
3333
/// </summary>
34-
private static string supportUrl = baseSupportUrl + "#no-such-element-exception";
34+
private static string supportUrl = baseSupportUrl + "#nosuchelementexception";
3535

3636
/// <summary>
3737
/// Initializes a new instance of the <see cref="NoSuchElementException"/> class.

dotnet/src/webdriver/StaleElementReferenceException.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class StaleElementReferenceException : WebDriverException
3030
/// <summary>
3131
/// Link to the documentation for this error
3232
/// </summary>
33-
private static string supportUrl = baseSupportUrl + "#stale-element-reference-exception";
33+
private static string supportUrl = baseSupportUrl + "#staleelementreferenceexception";
3434

3535
/// <summary>
3636
/// Initializes a new instance of the <see cref="StaleElementReferenceException"/> class.

dotnet/test/common/RelativeLocatorTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public void NearLocatorShouldNotFindFarElements()
224224
{
225225
var rect2 = driver.FindElement(RelativeBy.WithLocator(By.Id("rect4")).Near(rect));
226226

227-
}, Throws.TypeOf<NoSuchElementException>().With.Message.EqualTo("Unable to find element; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception"));
227+
}, Throws.TypeOf<NoSuchElementException>().With.Message.EqualTo("Unable to find element; For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#nosuchelementexception"));
228228
}
229229

230230
//------------------------------------------------------------------

java/src/org/openqa/selenium/InvalidSelectorException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828
public class InvalidSelectorException extends WebDriverException {
2929

30-
private static final String SUPPORT_URL = BASE_SUPPORT_URL + "#invalid-selector-exception";
30+
private static final String SUPPORT_URL = BASE_SUPPORT_URL + "#invalidselectorexception";
3131

3232
public InvalidSelectorException(String reason) {
3333
super(reason);

java/src/org/openqa/selenium/NoSuchElementException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
@NullMarked
2828
public class NoSuchElementException extends NotFoundException {
2929

30-
private static final String SUPPORT_URL = BASE_SUPPORT_URL + "#no-such-element-exception";
30+
private static final String SUPPORT_URL = BASE_SUPPORT_URL + "#nosuchelementexception";
3131

3232
public NoSuchElementException(@Nullable String reason) {
3333
super(reason);

java/src/org/openqa/selenium/StaleElementReferenceException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
@NullMarked
2828
public class StaleElementReferenceException extends WebDriverException {
2929

30-
private static final String SUPPORT_URL = BASE_SUPPORT_URL + "#stale-element-reference-exception";
30+
private static final String SUPPORT_URL = BASE_SUPPORT_URL + "#staleelementreferenceexception";
3131

3232
public StaleElementReferenceException(@Nullable String message) {
3333
super(message);

py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ respect-gitignore = true
144144
target-version = "py39"
145145

146146
[tool.ruff.lint]
147-
extend-select = ["E4", "E7", "E9", "F", "I", "E501", "RUF022"]
147+
extend-select = ["E4", "E7", "E9", "F", "I", "E501", "RUF022", "TID252"]
148148
fixable = ["ALL"]
149149

150150
[tool.ruff.format]

py/selenium/common/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
from .exceptions import (
18+
from selenium.common.exceptions import (
1919
DetachedShadowRootException,
2020
ElementClickInterceptedException,
2121
ElementNotInteractableException,

py/selenium/webdriver/__init__.py

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,34 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
from .chrome.options import Options as ChromeOptions # noqa
19-
from .chrome.service import Service as ChromeService # noqa
20-
from .chrome.webdriver import WebDriver as Chrome # noqa
21-
from .common.action_chains import ActionChains # noqa
22-
from .common.desired_capabilities import DesiredCapabilities # noqa
23-
from .common.keys import Keys # noqa
24-
from .common.proxy import Proxy # noqa
25-
from .edge.options import Options as EdgeOptions # noqa
26-
from .edge.service import Service as EdgeService # noqa
27-
from .edge.webdriver import WebDriver as ChromiumEdge # noqa
28-
from .edge.webdriver import WebDriver as Edge # noqa
29-
from .firefox.firefox_profile import FirefoxProfile # noqa
30-
from .firefox.options import Options as FirefoxOptions # noqa
31-
from .firefox.service import Service as FirefoxService # noqa
32-
from .firefox.webdriver import WebDriver as Firefox # noqa
33-
from .ie.options import Options as IeOptions # noqa
34-
from .ie.service import Service as IeService # noqa
35-
from .ie.webdriver import WebDriver as Ie # noqa
36-
from .remote.webdriver import WebDriver as Remote # noqa
37-
from .safari.options import Options as SafariOptions
38-
from .safari.service import Service as SafariService # noqa
39-
from .safari.webdriver import WebDriver as Safari # noqa
40-
from .webkitgtk.options import Options as WebKitGTKOptions # noqa
41-
from .webkitgtk.service import Service as WebKitGTKService # noqa
42-
from .webkitgtk.webdriver import WebDriver as WebKitGTK # noqa
43-
from .wpewebkit.options import Options as WPEWebKitOptions # noqa
44-
from .wpewebkit.service import Service as WPEWebKitService # noqa
45-
from .wpewebkit.webdriver import WebDriver as WPEWebKit # noqa
18+
from selenium.webdriver.chrome.options import Options as ChromeOptions # noqa
19+
from selenium.webdriver.chrome.service import Service as ChromeService # noqa
20+
from selenium.webdriver.chrome.webdriver import WebDriver as Chrome # noqa
21+
from selenium.webdriver.common.action_chains import ActionChains # noqa
22+
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities # noqa
23+
from selenium.webdriver.common.keys import Keys # noqa
24+
from selenium.webdriver.common.proxy import Proxy # noqa
25+
from selenium.webdriver.edge.options import Options as EdgeOptions # noqa
26+
from selenium.webdriver.edge.service import Service as EdgeService # noqa
27+
from selenium.webdriver.edge.webdriver import WebDriver as ChromiumEdge # noqa
28+
from selenium.webdriver.edge.webdriver import WebDriver as Edge # noqa
29+
from selenium.webdriver.firefox.firefox_profile import FirefoxProfile # noqa
30+
from selenium.webdriver.firefox.options import Options as FirefoxOptions # noqa
31+
from selenium.webdriver.firefox.service import Service as FirefoxService # noqa
32+
from selenium.webdriver.firefox.webdriver import WebDriver as Firefox # noqa
33+
from selenium.webdriver.ie.options import Options as IeOptions # noqa
34+
from selenium.webdriver.ie.service import Service as IeService # noqa
35+
from selenium.webdriver.ie.webdriver import WebDriver as Ie # noqa
36+
from selenium.webdriver.remote.webdriver import WebDriver as Remote # noqa
37+
from selenium.webdriver.safari.options import Options as SafariOptions
38+
from selenium.webdriver.safari.service import Service as SafariService # noqa
39+
from selenium.webdriver.safari.webdriver import WebDriver as Safari # noqa
40+
from selenium.webdriver.webkitgtk.options import Options as WebKitGTKOptions # noqa
41+
from selenium.webdriver.webkitgtk.service import Service as WebKitGTKService # noqa
42+
from selenium.webdriver.webkitgtk.webdriver import WebDriver as WebKitGTK # noqa
43+
from selenium.webdriver.wpewebkit.options import Options as WPEWebKitOptions # noqa
44+
from selenium.webdriver.wpewebkit.service import Service as WPEWebKitService # noqa
45+
from selenium.webdriver.wpewebkit.webdriver import WebDriver as WPEWebKit # noqa
4646

4747
__version__ = "4.36.0.202508121825"
4848

0 commit comments

Comments
 (0)