Skip to content

Commit 0f0f706

Browse files
committed
[py] fix broken syntax in mutation events
1 parent 4e77ade commit 0f0f706

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

py/CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Selenium 4.10.0
1010
* Change Selenium Manager logging to debug (#12145)
1111
* Add links to documentation in error messages (#12156)
1212
* Add custom error class for driver location and improve error logic
13+
* Fix bug in BiDi mutation events
1314

1415
Selenium 4.9.1
1516
* Add CDP files for v113 and remove v110

py/test/selenium/webdriver/common/bidi_tests.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ async def test_collect_log_mutations(driver, pages):
7474
async with log.mutation_events() as event:
7575
pages.load("dynamic.html")
7676
driver.find_element(By.ID, "reveal").click()
77-
WebDriverWait(driver, 5).until(
78-
EC.visibility_of(driver.find_element(By.ID, "revealed"))
79-
)
77+
WebDriverWait(driver, 5).until(EC.visibility_of(driver.find_element(By.ID, "revealed")))
8078

8179
assert event["attribute_name"] == "style"
8280
assert event["current_value"] == ""

0 commit comments

Comments
 (0)