From 945b9cb5ed2e0792f529f251a96218f5056b1e82 Mon Sep 17 00:00:00 2001 From: Andrea Draghetti Date: Wed, 10 Apr 2024 14:39:27 +0200 Subject: [PATCH] Source Code Returns Included detail to obtain HTML source code in string format. --- anti-detect-driver.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/anti-detect-driver.md b/anti-detect-driver.md index 5165b8f..9455709 100644 --- a/anti-detect-driver.md +++ b/anti-detect-driver.md @@ -62,6 +62,13 @@ AntiDetectDriver is a modified version of Selenium designed to evade detection b exists = driver.exists(".button") ``` +**Source Code Returns** + +- `.page_source` provides the current page source as a string. +```python +source = driver.page_source + ``` + #### Local Storage Manipulation **Simplified Local Storage Interaction**