@@ -83,6 +83,8 @@ self.is_text_visible(text, selector="html", by="css selector")
8383
8484self .is_exact_text_visible(text, selector = " html" , by = " css selector" )
8585
86+ self .is_non_empty_text_visible(selector = " html" , by = " css selector" )
87+
8688self .is_attribute_present(selector, attribute, value = None , by = " css selector" )
8789
8890self .is_link_text_visible(link_text)
@@ -109,12 +111,9 @@ self.click_partial_link(partial_link_text, timeout=None)
109111
110112self .get_text(selector, by = " css selector" , timeout = None )
111113
112- self .get_attribute(
113- selector, attribute, by = " css selector" ,
114- timeout = None , hard_fail = True )
114+ self .get_attribute(selector, attribute, by = " css selector" , timeout = None , hard_fail = True )
115115
116- self .set_attribute(
117- selector, attribute, value, by = " css selector" , timeout = None , scroll = False )
116+ self .set_attribute(selector, attribute, value, by = " css selector" , timeout = None , scroll = False )
118117
119118self .set_attributes(selector, attribute, value, by = " css selector" )
120119# Duplicates:
@@ -190,23 +189,16 @@ self.drag_and_drop_with_offset(
190189 selector, x, y, by = " css selector" , timeout = None )
191190
192191self .select_option_by_text(
193- dropdown_selector, option,
194- dropdown_by = " css selector" ,
195- timeout = None )
192+ dropdown_selector, option, dropdown_by = " css selector" , timeout = None )
196193
197194self .select_option_by_index(
198- dropdown_selector, option,
199- dropdown_by = " css selector" ,
200- timeout = None )
195+ dropdown_selector, option, dropdown_by = " css selector" , timeout = None )
201196
202197self .select_option_by_value(
203- dropdown_selector, option,
204- dropdown_by = " css selector" ,
205- timeout = None )
198+ dropdown_selector, option, dropdown_by = " css selector" , timeout = None )
206199
207200self .get_select_options(
208- dropdown_selector, attribute = " text" ,
209- by = " css selector" , timeout = None )
201+ dropdown_selector, attribute = " text" , by = " css selector" , timeout = None )
210202
211203self .load_html_string(html_string, new_page = True )
212204
@@ -269,22 +261,28 @@ self.get_new_driver(
269261 proxy = None ,
270262 proxy_bypass_list = None ,
271263 proxy_pac_url = None ,
264+ multi_proxy = None ,
272265 agent = None ,
273266 switch_to = True ,
274267 cap_file = None ,
275268 cap_string = None ,
276269 recorder_ext = None ,
270+ disable_js = None ,
277271 disable_csp = None ,
278272 enable_ws = None ,
279273 enable_sync = None ,
280274 use_auto_ext = None ,
281275 undetectable = None ,
276+ uc_cdp_events = None ,
277+ uc_subprocess = None ,
282278 no_sandbox = None ,
283279 disable_gpu = None ,
280+ headless2 = None ,
284281 incognito = None ,
285282 guest_mode = None ,
286283 devtools = None ,
287284 remote_debug = None ,
285+ enable_3d_apis = None ,
288286 swiftshader = None ,
289287 ad_block_on = None ,
290288 block_images = None ,
@@ -295,7 +293,9 @@ self.get_new_driver(
295293 user_data_dir = None ,
296294 extension_zip = None ,
297295 extension_dir = None ,
296+ binary_location = None ,
298297 page_load_strategy = None ,
298+ use_wire = None ,
299299 external_pdf = None ,
300300 is_mobile = None ,
301301 d_width = None ,
@@ -442,8 +442,7 @@ self.create_folder(folder)
442442
443443self .choose_file(selector, file_path, by = " css selector" , timeout = None )
444444
445- self .save_element_as_image_file(
446- selector, file_name, folder = None , overlay_text = " " )
445+ self .save_element_as_image_file(selector, file_name, folder = None , overlay_text = " " )
447446
448447self .download_file(file_url, destination_folder = None )
449448
@@ -482,11 +481,9 @@ self.assert_not_in(first, second, msg=None)
482481
483482self .assert_raises(* args, ** kwargs)
484483
485- self .wait_for_attribute(
486- selector, attribute, value = None , by = " css selector" , timeout = None )
484+ self .wait_for_attribute(selector, attribute, value = None , by = " css selector" , timeout = None )
487485
488- self .assert_attribute(
489- selector, attribute, value = None , by = " css selector" , timeout = None )
486+ self .assert_attribute(selector, attribute, value = None , by = " css selector" , timeout = None )
490487
491488self .assert_title(title)
492489
@@ -537,8 +534,7 @@ self.js_update_text(selector, text, by="css selector", timeout=None)
537534# self.js_type(selector, text, by="css selector", timeout=None)
538535# self.set_text(selector, text, by="css selector", timeout=None)
539536
540- self .set_text_content(
541- selector, text, by = " css selector" , timeout = None , scroll = False )
537+ self .set_text_content(selector, text, by = " css selector" , timeout = None , scroll = False )
542538
543539self .jquery_update_text(selector, text, by = " css selector" , timeout = None )
544540# Duplicates:
@@ -676,8 +672,7 @@ self.create_introjs_tour(name=None)
676672self .set_introjs_colors(theme_color = None , hover_color = None )
677673
678674self .add_tour_step(
679- message, selector = None , name = None ,
680- title = None , theme = None , alignment = None )
675+ message, selector = None , name = None , title = None , theme = None , alignment = None )
681676
682677self .play_tour(name = None , interval = 0 )
683678# Duplicates:
@@ -763,6 +758,11 @@ self.find_exact_text(text, selector="html", by="css selector", timeout=None)
763758# self.wait_for_exact_text(text, selector="html", by="css selector", timeout=None)
764759# self.wait_for_exact_text_visible(text, selector="html", by="css selector", timeout=None)
765760
761+ self .find_non_empty_text(selector = " html" , by = " css selector" , timeout = None )
762+ # Duplicates:
763+ # self.wait_for_non_empty_text(selector="html", by="css selector", timeout=None)
764+ # self.wait_for_non_empty_text_visible(selector="html", by="css selector", timeout=None)
765+
766766self .assert_text(text, selector = " html" , by = " css selector" , timeout = None )
767767# Duplicates:
768768# self.assert_text_visible(text, selector="html", by="css selector", timeout=None)
@@ -781,6 +781,8 @@ self.find_link_text(link_text, timeout=None)
781781# self.wait_for_link_text_visible(link_text, timeout=None)
782782
783783self .assert_link_text(link_text, timeout = None )
784+ # Duplicates:
785+ # self.assert_link(link_text, timeout=None)
784786
785787# ###########
786788
@@ -820,6 +822,8 @@ self.assert_text_not_visible(text, selector="html", by="css selector", timeout=N
820822
821823self .assert_exact_text_not_visible(text, selector = " html" , by = " css selector" , timeout = None )
822824
825+ self .assert_non_empty_text(selector = " html" , by = " css selector" , timeout = None )
826+
823827# ###########
824828
825829self .wait_for_attribute_not_present(
@@ -877,9 +881,14 @@ self.deferred_assert_exact_text(
877881# self.delayed_assert_exact_text(
878882# text, selector="html", by="css selector", timeout=None, fs=False)
879883
884+ self .deferred_assert_non_empty_text(
885+ selector = " html" , by = " css selector" , timeout = None , fs = False )
886+ # Duplicates:
887+ # self.delayed_assert_non_empty_text(
888+ # selector="html", by="css selector", timeout=None, fs=False)
889+
880890self .deferred_check_window(
881- name = " default" , level = 0 , baseline = False ,
882- check_domain = True , full_diff = False , fs = False )
891+ name = " default" , level = 0 , baseline = False , check_domain = True , full_diff = False , fs = False )
883892# Duplicates:
884893# self.delayed_check_window(
885894# name="default", level=0, baseline=False,
0 commit comments