MachinePublishers / jBrowserDriver

A programmable, embeddable web browser driver compatible with the Selenium WebDriver spec -- headless, WebKit-based, pure Java
Other
809 stars 143 forks source link

Cookies don't work but exists #308

Closed andreaskas closed 4 years ago

andreaskas commented 6 years ago

Hello,

I am trying to login headless to pages such as facebook, twitter and in sites with login forms in general. and i get from the page that cookies are required, despite the cookies are enabled and that i can view them in debug using manage().getCookies()

For example at facebook login, although the credentials are correct, when i am trying to login i get the following page.

image

if i manally login, it logins and fb appears me a notification that cookies in my browser are not enabled.

I am using latest Ubuntu LTS (16.04.3) and openjdk version "1.8.0_131" with all the required packages in README installed and tested with versions 0.17.10 & 0.17.11. Is there a known issue or anything i can do to trace down a possible error?

hollingsworthd commented 4 years ago

Possibly fixed by #351 from zipleen/cookie_fix2

Thanks for the info!