I'm succeeded logging in sites using Selenium in Python 3.4 The login process is like below:
browser = webdriver.PhantomJS()
browser.get('url')
emailElem = self.browser.find_element_by_name('user_id')
emailElem.send_keys(user_id)
passwordElem = self.browser.find_element_by_name('password')
passwordElem.send_keys(user_pwd)
passwordElem.submit()
After I login, I'm trying to access certain page where the log-in session is required,
browser.get('login-session-required-page-url')
It lost its session and not allowed to access.
I think that this is related with session and cookies, but I have no idea how to deal with it.
For window you can try changing the path as below