Skip to content

Commit b5e44d5

Browse files
committed
Set default args for a few methods from "js_utils.py"
1 parent ac6d0fd commit b5e44d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/fixtures/js_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def wait_for_css_query_selector(
274274
)
275275

276276

277-
def highlight_with_js(driver, selector, loops, o_bs):
277+
def highlight_with_js(driver, selector, loops=4, o_bs=""):
278278
try:
279279
# This closes any pop-up alerts
280280
driver.execute_script("")
@@ -374,7 +374,7 @@ def highlight_with_js(driver, selector, loops, o_bs):
374374
return
375375

376376

377-
def highlight_with_jquery(driver, selector, loops, o_bs):
377+
def highlight_with_jquery(driver, selector, loops=4, o_bs=""):
378378
try:
379379
# This closes any pop-up alerts
380380
driver.execute_script("")

0 commit comments

Comments
 (0)