webdriver.remote.utils

Module Contents

Functions

format_json(json_struct)
dump_json(json_struct)
load_json(s)
handle_find_element_exception(e)
return_value_if_exists(resp)
get_root_parent(elem)
unzip_to_temp_dir(zip_file_name) Unzip zipfile to a temporary directory.
format_json(json_struct)
dump_json(json_struct)
load_json(s)
handle_find_element_exception(e)
return_value_if_exists(resp)
get_root_parent(elem)
unzip_to_temp_dir(zip_file_name)

Unzip zipfile to a temporary directory.

The directory of the unzipped files is returned if success, otherwise None is returned.