Skip to content

Commit

Permalink
Refactor timeout parameter in _wait_for_new_page method to use millis…
Browse files Browse the repository at this point in the history
…econds instead of seconds
  • Loading branch information
mohamedmamdouh22 committed Jan 21, 2025
1 parent f0e1d7b commit e0b698f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/harambe/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ async def capture_url(
self,
clickable: ElementHandle,
resource_type: ResourceType = "document",
timeout: Optional[int] = 10,
timeout: Optional[int] = 10000,
) -> URL | None:
"""
Capture the url of a click event. This will click the element and return the url
Expand Down

0 comments on commit e0b698f

Please sign in to comment.