How to print all html/css tags of a webpage using Selenium:
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://seleniumhq.org/')
When I do:
print(browser),
it prints this:
"<selenium.webdriver.firefox.webdriver.WebDriver (session="ce01359c-03e4-499d-a3fb-230bda9ac24c")>"
Is this an Object or variable or a list/set/tuple/dict or what is it? Could someone explain it please?