You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some difficulty implementing this in my application. I'm running BackstopJS for my test scenarios with Chrome is the engine so I can use Chromy.
BackstopJS has made userDataDir available in their configuration but this causes a bug when running multiple scenarios. So I would like to add the userDataDir value to each scenario separately.
I have this onBefore.js script that runs on each scenario:
module.exports = function (chromy, scenario, vp) {
require('./loadCookies')(chromy, scenario);
// IGNORE ANY CERT WARNINGS
chromy.ignoreCertificateErrors();
return chromy
.wait(150)
};
Could you perhaps give an example on how to implement the userDataDir in this set up?
//update.
Never mind, seem like adding chromy.options.userDataDir = "C:/Users/Peter/AppData/Local/Google/Chrome/User Data/Default"; to the onBeforej.js script does the trick :)
Is it possible to open a Chrome browser with Chromy with a user logged in with his google account in the browser?
The text was updated successfully, but these errors were encountered: