Utility Functions

There are a number of utility functions that help with running selenium against the UI.

Converters

Converters for use with Selenium

liveobs_ui.utils.converters.convert_list_of_data_dicts(values_list)[source]

Convert a list of dicts that contain data to fill out a form

Parameters:values_list – List of dictionaries that contain form data
Returns:list of dictionaries with converted values
liveobs_ui.utils.converters.convert_numbers_in_dict(values_dict)[source]

Convert any values in dictionary that are values to string

Parameters:values_dict – dictionary of values used to submit
Returns:dictionary with all numerical values converted to a string