From 57a52c3fb03bcea6d0ac14ef6cf01478d178739a Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Sun, 23 Jun 2024 13:46:39 -0400 Subject: [PATCH] Update method_summary.md --- help_docs/method_summary.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/help_docs/method_summary.md b/help_docs/method_summary.md index 468d2c93..d90701cb 100644 --- a/help_docs/method_summary.md +++ b/help_docs/method_summary.md @@ -111,7 +111,7 @@ self.click_partial_link(partial_link_text, timeout=None) # Duplicates: # self.click_partial_link_text(partial_link_text, timeout=None) -self.get_text(selector, by="css selector", timeout=None) +self.get_text(selector="html", by="css selector", timeout=None) self.get_attribute(selector, attribute, by="css selector", timeout=None, hard_fail=True) @@ -127,7 +127,7 @@ self.remove_attributes(selector, attribute, by="css selector") self.get_property(selector, property, by="css selector", timeout=None) -self.get_text_content(selector, by="css selector", timeout=None) +self.get_text_content(selector="html", by="css selector", timeout=None) self.get_property_value(selector, property, by="css selector", timeout=None) @@ -229,7 +229,7 @@ self.set_window_size(width, height) self.maximize_window() -self.switch_to_frame(frame, timeout=None) +self.switch_to_frame(frame="iframe", timeout=None) self.switch_to_default_content() @@ -1032,7 +1032,7 @@ driver.get_page_source() driver.get_title() -driver.switch_to_frame(frame) +driver.switch_to_frame(frame="iframe") ############