Skip to content

Commit

Permalink
[py] fix broken syntax in mutation events
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Jun 7, 2023
1 parent 4e77ade commit 0f0f706
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions py/CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Selenium 4.10.0
* Change Selenium Manager logging to debug (#12145)
* Add links to documentation in error messages (#12156)
* Add custom error class for driver location and improve error logic
* Fix bug in BiDi mutation events

Selenium 4.9.1
* Add CDP files for v113 and remove v110
Expand Down
4 changes: 1 addition & 3 deletions py/test/selenium/webdriver/common/bidi_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ async def test_collect_log_mutations(driver, pages):
async with log.mutation_events() as event:
pages.load("dynamic.html")
driver.find_element(By.ID, "reveal").click()
WebDriverWait(driver, 5).until(
EC.visibility_of(driver.find_element(By.ID, "revealed"))
)
WebDriverWait(driver, 5).until(EC.visibility_of(driver.find_element(By.ID, "revealed")))

assert event["attribute_name"] == "style"
assert event["current_value"] == ""
Expand Down

0 comments on commit 0f0f706

Please sign in to comment.