Skip to content

Commit

Permalink
Fix missing argument bug in CDP Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmintz committed Jan 14, 2025
1 parent 20563e0 commit d0a3c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seleniumbase/fixtures/base_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@ def get_attribute(
timeout = self.__get_new_timeout(timeout)
selector, by = self.__recalculate_selector(selector, by)
if self.__is_cdp_swap_needed():
return self.cdp.get_element_attribute(selector)
return self.cdp.get_element_attribute(selector, attribute)
self.wait_for_ready_state_complete()
time.sleep(0.01)
if self.__is_shadow_selector(selector):
Expand Down

0 comments on commit d0a3c67

Please sign in to comment.