I'm trying to access the developer tools of the browser that I'm using (Firefox) using Selenium. I know that you can press F12 to access it, so I'm trying to "press" F12 using Selenium but I'm having some trouble.
browser = webdriver.Firefox()
type(browser)
browser.get('http://google.com')
browser.send_keys(u'\ue03c')
But when I do this, I get the error:
AttributeError: 'WebDriver' object has no attribute 'send_keys'
Is there a way to "press" keys without having to focus on an element?