GovTechSG/purple-a11y

Error when Chrome is running

brianteeman opened this issue · 0 comments

There is nothing that says chrome must not be running before starting a scan.
If that is a requirement then there should be a friendly message and not an error.


PS D:\repos\purple-a11y> node index
┌────────────────────────────────────────────────────────────┐
│ Purple A11y (ver 0.9.46)                                   │
│ We recommend using Chrome browser for the best experience. │
│                                                            │
│ Welcome back Brian Teeman!                                 │
│ (Refer to readme.txt on how to change your profile)        │
└────────────────────────────────────────────────────────────┘
? What would you like to scan? (Use arrow keys)
❯ Sitemap
? What would you like to scan? Sitemap
? Do you want purple-a11y to run in the background? Yes
? Which screen size would you like to scan? (Use arrow keys) Desktop
? Please enter URL or file path to sitemap, or drag and drop a sitemap file here:  https://brianstest.site

 Error: EBUSY: resource busy or locked, copyfile 'C:\Users\brian\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies' -> 'C:\Users\brian\AppData\Local\Google\Chrome\User Data\Purple-A11y\Default\Network\Cookies' 


C:\Users\brian\AppData\Local\Microsoft\Edge\User Data\Purple-A11y destDir
true cloneLocalStateFileSuccess


 Error: EBUSY: resource busy or locked, copyfile 'C:\Users\brian\AppData\Local\Microsoft\Edge\User Data\Default\Network\Cookies' -> 'C:\Users\brian\AppData\Local\Microsoft\Edge\User Data\Purple-A11y\Default\Network\Cookies'  


C:\Users\brian\AppData\Local\Microsoft\Edge\User Data null getEdgeData