0

Is there any way to login into website using headless driver and show the resulted output page in a normal browser like Internet Explorer or Firefox.

I am currently using python 2.7 and selenium 2.47.3

  • Do you mean a webdriver backed browser, or just any normal webbrowser started manually? – Mobrockers Jun 20 '16 at 10:18
  • Possible duplicate of [How to save and load cookies using python selenium webdriver](http://stackoverflow.com/questions/15058462/how-to-save-and-load-cookies-using-python-selenium-webdriver) – Mobrockers Jun 20 '16 at 10:19
  • What would the purpose of this be? Why can't you login using a normal browser? – RemcoW Jun 20 '16 at 10:19
  • When login takes place I don't want to let the user close browser manually so I want the login process to be headless (i.e. the process should be hidden to user until desired page is loaded) but once desired page is loaded user should be able to see it in normal browser. – spoorthy Jun 21 '16 at 05:49

1 Answers1

0

I believe that the best solution to this case is to use screeshoot to visualize the page. Try:

driver.get_screenshot_as_file('file.png')