How to print all html/css tags/attributes of "browser"?
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://seleniumhq.org/')
How to print all html/css tags/attributes of "browser"?
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://seleniumhq.org/')
Answering my own question, for those who might find it useful in the future:
print(browser.page_source)
In general, to check/print/list ALL Methods and Attributes available to an Object use this:
print(dir(browser))