Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

AEM login - unable to set cookie #440

Open
testerkrishna opened this issue Jun 14, 2020 · 0 comments
Open

AEM login - unable to set cookie #440

testerkrishna opened this issue Jun 14, 2020 · 0 comments

Comments

@testerkrishna
Copy link

testerkrishna commented Jun 14, 2020

Environment

Bobcat version:
2.3.0

Bobcat modules used:
bb-core
bb-aem-coe
bb-aem-65

Browser + version:
Chrome - 83

Expected Behavior

Able to login in cucumber step definition method

Actual Behavior

@When("^I login$")
public void I_press_login_button() throws ActionException{
	controller.execute(AemActions.LOG_IN);	
}

org.openqa.selenium.UnableToSetCookieException: unable to set cookie
(Session info: chrome=83.0.4103.97)
Build info: version: '3.141.0', revision: '2ecb7d9a', time: '2018-10-31T20:09:30'
System info: host: 'XXXXXXXx', ip: 'x.x.x.x', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_231'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 83.0.4103.97, chrome: {chromedriverVersion: 83.0.4103.39 (ccbf011cb2d2b..., userDataDir: C:\Users\K331B~1.VIJ\AppDat...}, goog:chromeOptions: {debuggerAddress: localhost:61272}, javascriptEnabled: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: WINDOWS, platformName: WINDOWS, proxy: Proxy(), setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:virtualAuthenticators: true}
Session ID: bc2bf336223cea3283f04ada23f788a9
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebDriver$RemoteWebDriverOptions.addCookie(RemoteWebDriver.java:682)
at org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringOptions.addCookie(EventFiringWebDriver.java:615)
at com.cognifide.qa.bb.aem.core.login.actions.LogIn.execute(LogIn.java:59)
at com.cognifide.qa.bb.api.actions.internal.DefaultController.execute(DefaultController.java:49)
at agl.aem.steps.CommonSteps.I_have_opened_login_page(CommonSteps.java:32)
at ?.I login to AEM(src/main/java/agl/aem/features/AglButton.feature:4)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant