Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def test_should_not_find_element_by_class_when_the_name_queried_is_shorter_than_
@pytest.mark.xfail_edge(reason="https://bugs.chromium.org/p/chromedriver/issues/detail?id=4743")
def test_finding_asingle_element_by_empty_class_name_should_throw(driver, pages):
pages.load("xhtmlTest.html")
msg = r"\/errors#invalid-selector-exception"
msg = r"\/errors#invalidselectorexception"
with pytest.raises(InvalidSelectorException, match=msg):
driver.find_element(By.CLASS_NAME, "")

Expand Down
2 changes: 1 addition & 1 deletion py/test/selenium/webdriver/common/stale_reference_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def test_old_page(driver, pages):
pages.load("simpleTest.html")
elem = driver.find_element(by=By.ID, value="links")
pages.load("xhtmlTest.html")
msg = r"\/errors#stale-element-reference-exception"
msg = r"\/errors#staleelementreferenceexception"
with pytest.raises(StaleElementReferenceException, match=msg):
elem.click()

Expand Down
Loading