Describe the bug
A clear and concise description of what the bug is.
Steps to Reproduce
Steps to reproduce the behavior:
create() code
This is the code you use to create the client. e.g
sulla.create(...)
Expected behavior
A clear and concise description of what you expected to happen.
DEBUG INFO
This is the info printed to the console when you start your app. It should look like this
Debug Info {
WA_VERSION: ...,
PAGE_UA: ...,
SULLA_HOTFIX_VERSION: ...,
BROWSER_VERSION: ...
}
Screenshots
If applicable, add screenshots to help explain your problem. Use headless: false to get screenshots
Host (please complete the following information):
Additional context
Add any other context about the problem here.
The 'browser' error occurs when you configure the 'executablePath' incorrectly, below are some settings to test:
MAC:
executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
Windows:
executablePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
Linux:
executablePath: '/usr/bin/google-chrome-stable',
Example on MAC:
sulla.create('session', {
executablePath: '/Applications/Google Chrome.app/Contents/MacOS/Google Chrome',
headless: true,
autoRefresh: true
}).then(client => start(client));
@barkerpedro Thank you man)
what about centos 7 i am looking it
try locate chromium in terminal
mine is
// For Linux:
executablePath: '/usr/bin/chromium',
@smashah may be you can add linux path example to readme
I think I'll implement some auto detector with a configuration flag like useChrome: true or something.
Most helpful comment
The 'browser' error occurs when you configure the 'executablePath' incorrectly, below are some settings to test:
MAC:
Windows:
Linux:
Example on MAC: