Hey I downloaded geckodriver and included it with
java -Dwebdriver.firefox.driver="C:\\xampp\\htdocs\\project\\geckodriver.exe" -jar selenium-server.jar
I use Selenium Standalone Server 3.4.0
then in my node script I use
const options = {
desiredCapabilities: {
browserName: 'firefox',
firefox_profile:"C:/Users/Administrator/AppData/Local/Mozilla/Firefox/Profiles/greerg.profile"
}
}
const client = webdriverio.remote(options).init();
It seems that it worked when I look into Selenium logs. Because there will be not created a temp profile at windows temp folders like in a new session instead you can see the profile from above. But it doesn´t worked. I doesn´t save cookies or addons or anything it´s like a fresh version every time. I also tried to use instead of firefox_profile, profile or "moz:profile" or I tried to import the profile as base64 string with fs. But nothing really worked maybe I just write it wrong? How can I include a custom profile - what code do you use?
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
So I am attempting to learn how to use the Google Sheets API with Nodejs
So I have a tranfrom stream that is writing not pushing to the another stream because the stream changes what it writes toIf I write to same stream multiple times in a row it,before it emits the data event, concats them together
I'm trying to get the latest version of Ghost blogging platform integrated into my existing siteFor testing purposes, I have installed it in a new directory on my site called /blog_new