Answers for "get html full source selenium python"

1

get page source code selenium python

from selenium import webdriver
import time

options = webdriver.ChromeOptions()
options.add_argument('--ignore-certificate-errors')
options.add_argument("--test-type")
options.binary_location = "/usr/bin/chromium"
driver = webdriver.Chrome(chrome_options=options)
driver.get('https://python.org')

html = driver.page_source
print(html)
Posted by: Guest on April-08-2021
2

python selenium get html content

element.get_attribute('innerHTML')
Posted by: Guest on June-06-2020

Code answers related to "get html full source selenium python"

Python Answers by Framework

Browse Popular Code Answers by Language