Skip to content
Closed
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 @@ -354,7 +354,7 @@ def test_should_be_able_to_identify_elements_by_class(driver, pages):

def test_should_be_able_to_find_an_element_by_xpath_with_multiple_attributes(driver, pages):
pages.load("formPage.html")
element = driver.find_element(By.XPATH, "//form[@name='optional']/input[@type='submit' and @value='Click!']")
element = driver.find_element(By.XPATH, "//input[@type='submit' and @value='Click!']")
assert element.tag_name.lower() == "input"
assert element.get_attribute("value") == "Click!"

Expand Down
1 change: 1 addition & 0 deletions py/test/selenium/webdriver/common/webdriverwait_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def test_should_fail_to_find_visible_elements_when_explicit_waiting(driver, page
WebDriverWait(driver, 0.7).until(EC.visibility_of_any_elements_located((By.CLASS_NAME, "redbox")))


@pytest.mark.xfail_firefox
def test_should_wait_until_all_visible_elements_are_found_when_searching_for_many(driver, pages):
pages.load("hidden_partially.html")
add_visible = driver.find_element(By.ID, "addVisible")
Expand Down
Loading