Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

get html selenium python

from selenium import webdriver

browser = webdriver.Firefox()
browser.get("http://example.com")

html_source = browser.page_source
if "whatever" in html_source:
    # do something
else:
    # do something else
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #selenium #python
ADD COMMENT
Topic
Name
6+3 =