@@ -243,8 +243,8 @@ def prepare_environment(
243243 sanitizer_log: Location to write sanitizer logs. Log prefix set
244244 with ASAN_OPTIONS=log_path=<sanitizer_log>.
245245 env_mod: Environment modifier. Add, remove and update entries
246- in the prepared environment. Add and update by setting
247- value(str) and remove by setting entry value to None.
246+ in the prepared environment. Add/ update by setting
247+ valueor removeentry by setting value to None.
248248
249249 Returns:
250250 Environment to use when launching browser.
@@ -324,12 +324,12 @@ def wait_on_files(
324324poll_rate :float = 1.0 ,
325325timeout :float = 60 ,
326326)-> bool :
327- """Waitfor specified filesto no longer be in use by any process .
327+ """Waitwhile specified filesare in use.
328328
329329 Args:
330330 wait_files: Files that must no longer be open by a process.
331- poll_rate:Amount of time in seconds to wait between checks.
332- timeout:Amount oftime in seconds topoll .
331+ poll_rate:Time in seconds to wait between checks.
332+ timeout:Maximum number of seconds towait .
333333
334334 Returns:
335335 True if all files were closed within given time otherwise False.