refactor(Playwright Engine): Separate what we can for cleaner code and the async function later
The caching will give a slight performance increase with bulk requests
This commit is contained in:
@@ -302,3 +302,8 @@ def check_type_validity(variable: Any, valid_types: Union[List[Type], None], def
|
||||
def do_nothing(page):
|
||||
# Just works as a filler for `page_action` argument in browser engines
|
||||
return page
|
||||
|
||||
|
||||
async def do_nothing_async(page):
|
||||
# Just works as a filler for `page_action` argument in browser engines
|
||||
return page
|
||||
|
||||
Reference in New Issue
Block a user