serenity-bdd / serenity-junit-screenplay-starter

Apache License 2.0
9 stars 27 forks source link

The starter project can not work #7

Closed Chenaniah7 closed 1 year ago

Chenaniah7 commented 1 year ago

I'm try to learning seerenity bdd, when i download this project and then run it on my laptop, i always eencounter an error shows like below


WebDriver reported the following message: Could not start a new session. Response code 500. Message: unknown error: cannot find Chrome binary 
Host info: host: 'DESKTOP-D5AEU7L', ip: '192.168.1.12'
Build info: version: '4.7.1', revision: 'c6795baf1a3'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.7'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [null, newSession {capabilities=[Capabilities {acceptInsecureCerts: false, browserName: chrome, goog:chromeOptions: {args: [--headless, --start-maximized, --test-type, --no-sandbox, --ignore-certificate-errors, \n                   --disa..., --disable-default-apps, --disable-extensions-file-a..., \n                   --inco..., --disable-infobars,--disabl..., --remote-allow-origins=*, --headless], extensions: []}}], desiredCapabilities=Capabilities {acceptInsecureCerts: false, browserName: chrome, goog:chromeOptions: {args: [--headless, --start-maximized, --test-type, --no-sandbox, --ignore-certificate-errors, \n                   --disa..., --disable-default-apps, --disable-extensions-file-a..., \n                   --inco..., --disable-infobars,--disabl..., --remote-allow-origins=*, --headless], extensions: []}}}]
See below for more details.```  
 i never change anything, could you help to check this issue? thanks
wakaleo commented 1 year ago

It looks like you don't have Chrome installed

Chenaniah7 commented 1 year ago

ohhh, my bad, thanks!