Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am getting an issue while executing this project. #17

Open
arm235 opened this issue Jun 15, 2020 · 5 comments
Open

I am getting an issue while executing this project. #17

arm235 opened this issue Jun 15, 2020 · 5 comments

Comments

@arm235
Copy link

arm235 commented Jun 15, 2020

removing

@phillipsic
Copy link

phillipsic commented Sep 17, 2020

I am also seeing the same issue. Using version 2.3.2.

I have cloned the project and using the following to run: mvn clean verify -Pscreenplay

I get the same error as previously reported.

I have tried the 'serenity-cucumber-starter' project and no issue seen there. But I am interested in the screenplay part

@wakaleo
Copy link
Member

wakaleo commented Sep 17, 2020

"Could not instantiate new WebDriver instance of type class org.openqa.selenium.chrome.ChromeDriver (com.google.gson.stream.MalformedJsonException: Invalid escape sequence at line 1 column 76 path $.). See below for more details." - There is a problem creating the ChromeDriver instance. This is usually a compatibility issue with the chromedriver binary and Chrome, but could be an error in the chrome configuration properties.

That said, I can't reproduce this at all - are you trying with the latest version of the code base?

@phillipsic
Copy link

phillipsic commented Sep 17, 2020

I have tried that project and it works OK, which why I do not understand why this project does not work as well?

The only difference I could see was the version of serenity (cucumber-started is 2.3.4).

I have only started on this today so working with the latest code base for each project.

I have run this framework on my personal laptop (a Mac) and no issue. A coworker (also on Windows) has the same issue. Appears to be a Windows issue.

@senthilkumar-gopi
Copy link

I also got the same problem. I just removed following line in serenity.conf and then it is working fine for me.

preferences {
download: "{prompt_for_download: false,directory_upgrade: true,default_directory:'${user.dir}/downloaded-files'}"
}

@grasshopper7
Copy link

The '.' character in 'user.dir' needs to be escaped. Try this - ${user\.dir}

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

No branches or pull requests

5 participants