Issue
Im trying to open firefox console through Selenium with Python. How can I open firefox console with python selenium? Is it possible to send keys to the driver or something like that?
Solution
Try to simulate the same procedure as a "regular" firefox window using the send_keys
function:
from selenium.webdriver.common.keys import Keys
driver.find_element_by_tag_name('body').send_keys(Keys.CONTROL + Keys.SHIFT + 'k')
Answered By - Javitronxo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.