@@ -171,7 +171,7 @@ def set_default_download_directory(self, path: str):
171171 Usage: Sets the 'download.default_directory' preference for Chrome.
172172
173173 Arguments:
174- path -- Absolute path to the download destination folder.
174+ path: Absolute path to the download destination folder.
175175 """
176176 self ._set_pref_path (['download' , 'default_directory' ], path )
177177
@@ -182,7 +182,7 @@ def set_accept_languages(self, languages: str):
182182 Usage: Sets the 'intl.accept_languages' preference.
183183
184184 Arguments:
185- languages -- A comma-separated string of language codes (e.g., 'pt-BR,pt,en-US,en').
185+ languages: A comma-separated string of language codes (e.g., 'pt-BR,pt,en-US,en').
186186 """
187187 self ._set_pref_path (['intl' , 'accept_languages' ], languages )
188188
@@ -198,7 +198,7 @@ def prompt_for_download(self, enabled: bool):
198198 Usage: Sets the 'download.prompt_for_download' preference.
199199
200200 Arguments:
201- enabled -- If True, Chrome will ask for confirmation before downloading.
201+ enabled: If True, Chrome will ask for confirmation before downloading.
202202 """
203203 self ._set_pref_path (['download' , 'prompt_for_download' ], enabled )
204204
@@ -214,7 +214,7 @@ def block_popups(self, block: bool):
214214 Usage: Sets the 'profile.default_content_setting_values.popups' preference.
215215
216216 Arguments:
217- block -- If True, pop-ups will be blocked (value = 0); otherwise allowed (value = 1).
217+ block: If True, pop-ups will be blocked (value = 0); otherwise allowed (value = 1).
218218 """
219219 self ._set_pref_path (
220220 ['profile' , 'default_content_setting_values' , 'popups' ], 0 if block else 1
@@ -232,7 +232,7 @@ def password_manager_enabled(self, enabled: bool):
232232 Usage: Sets the 'profile.password_manager_enabled' preference.
233233
234234 Arguments:
235- enabled -- If True, the password manager is active.
235+ enabled: If True, the password manager is active.
236236 """
237237 self ._set_pref_path (['profile' , 'password_manager_enabled' ], enabled )
238238 self ._set_pref_path (['credentials_enable_service' ], enabled )
@@ -253,7 +253,7 @@ def block_notifications(self, block: bool):
253253 Usage: Sets the 'profile.default_content_setting_values.notifications' preference.
254254
255255 Arguments:
256- block -- If True, notifications will be blocked (value = 2);
256+ block: If True, notifications will be blocked (value = 2);
257257 otherwise allowed (value = 1).
258258 """
259259 self ._set_pref_path (
@@ -280,7 +280,7 @@ def allow_automatic_downloads(self, allow: bool):
280280 Usage: Sets the 'profile.default_content_setting_values.automatic_downloads' preference.
281281
282282 Arguments:
283- allow -- If True, automatic downloads are allowed (value = 1);
283+ allow: If True, automatic downloads are allowed (value = 1);
284284 otherwise blocked (value = 2).
285285 """
286286 self ._set_pref_path (
@@ -300,7 +300,7 @@ def open_pdf_externally(self, enabled: bool):
300300 Usage: Sets the 'profile.managed_default_content_settings.geolocation' preference.
301301
302302 Arguments:
303- block -- If True, location access is blocked (value = 2); otherwise allowed (value = 1).
303+ block: If True, location access is blocked (value = 2); otherwise allowed (value = 1).
304304 """
305305 self ._set_pref_path (['plugins' , 'always_open_pdf_externally' ], enabled )
306306
0 commit comments