From b88024efb7c0accd94af28e0dc8ae285254d397f Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Wed, 11 Dec 2024 18:35:52 -0500 Subject: [PATCH] Update the CDP Mode docs --- examples/cdp_mode/ReadMe.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/cdp_mode/ReadMe.md b/examples/cdp_mode/ReadMe.md index 4db4d5c7df9..f92d79da44e 100644 --- a/examples/cdp_mode/ReadMe.md +++ b/examples/cdp_mode/ReadMe.md @@ -384,6 +384,7 @@ sb.cdp.get_document() sb.cdp.get_flattened_document() sb.cdp.get_element_attributes(selector) sb.cdp.get_element_attribute(selector, attribute) +sb.cdp.get_attribute(selector, attribute) sb.cdp.get_element_html(selector) sb.cdp.set_locale(locale) sb.cdp.set_attributes(selector, attribute, value) @@ -463,6 +464,7 @@ element.type(text) element.get_position() element.get_html() element.get_js_attributes() +element.get_attribute(attribute) ``` --------