Closed Elanuroquesalta closed 1 year ago
Passing the profile folder as a full path fixed it for me
ChromeInst := new chrome(A_ScriptDir "\profile", "https://autohotkey.com")
Also you shouldn't name the variable chrome
because that's the class's name and classes are actually just objects that are stored in a super-global variable, and in this case, that variable is named chrome
. AHK docs
Passing the profile folder as a full path fixed it for me
ChromeInst := new chrome(A_ScriptDir "\profile", "https://autohotkey.com")
Also you shouldn't name the variable
chrome
because that's the class's name and classes are actually just objects that are stored in a super-global variable, and in this case, that variable is namedchrome
. AHK docs
MUCH THANKS!
copying as a full path fixed for me aswell, also thank you for pointing out the class name thing.
I will continuing working on, cheers :)
This should be fixed in 1.3.0
When i run any of the examples scripts or an external script using the library a message pops out saying:
"Google Chrome cannot read and write to its data directory : profile"
Any ideas how to fix it?