Simple problems with the Puppeteer

Hello,

I’m new in this area. I tried to configure tests with codeceptjs on webdriver then on protractor on windows and linux also, but everywhere i got ERROR unable to load webdriver or chromedriver version unknown etc. I cant solve that problems, so I tried with Puppeteer and it worked, I think thats because it has a chromedriven build in. Anyway, I would like to test website, but i dont know why, when Im starting tests chromium opens my test webpage in mobile mode. I need normal desktop mode, anyone can help me?

Regards

Could you please elaborate your codeceptjs config?

@smokehead
Puppeteer works because it downloads current supported version of Chromium.
Webriver probably fails because your current version of chromedriver is higher than version of you local Chrome
try to use https://www.npmjs.com/package/webdriver-manager and install corresponding version of driver for your Chrome