File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
selenium/webdriver/common
test/selenium/webdriver/common Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ async def mutation_events(self) -> dict:
81
81
yield event
82
82
83
83
payload = json .loads (evnt .value .payload )
84
- elements : list = self .driver .find_elements (By .CSS_SELECTOR , f"*[data-__webdriver_id={ payload ['target' ]} " )
84
+ elements : list = self .driver .find_elements (By .CSS_SELECTOR , f"*[data-__webdriver_id={ payload ['target' ]} ] " )
85
85
if not elements :
86
86
elements .append (None )
87
87
event ["element" ] = elements [0 ]
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ async def test_collect_log_mutations(driver, pages):
74
74
async with log .mutation_events () as event :
75
75
pages .load ("dynamic.html" )
76
76
driver .find_element (By .ID , "reveal" ).click ()
77
- WebDriverWait (driver , 5 , ignored_exceptions = InvalidSelectorException ).until (
77
+ WebDriverWait (driver , 5 ).until (
78
78
EC .visibility_of (driver .find_element (By .ID , "revealed" ))
79
79
)
80
80
You can’t perform that action at this time.
0 commit comments