philpw99 / Stash_Helper

This is a little helper program for the excellent StashApp in Windows.
MIT License
64 stars 3 forks source link

Query: Does SH need to open browser? (SH unable to load in edge) #26

Closed Dark-Obsidian closed 9 months ago

Dark-Obsidian commented 1 year ago

Summary

Further Info

Impact

Thanks!

philpw99 commented 1 year ago

Thank you for the detail info !

SH will try to detect if a Stash is already running or not. If it's not running, it will run the stash-win.exe. Otherwise it will just open a browser instance.

You can close that browser and let SH runs in the background. SH will open a new browser instance when you click on its menu.

The problem of Edge is probably due to the Web driver update again. I haven't updated the code for web driver for a while, so it probably stop working for now.

The program do need some improving. It should try to attach an existing browser first, only when it fails it should create a new instance. I will do some updates and see if this is possible.

Dark-Obsidian commented 1 year ago

No problem, I am naturally very detailed (it takes me ages to write anything! 😀)

Thanks for replying straight away and looking into this - hopefully Microsoft don't make this too hard for you to fix or make you spend ages to get this working again! (I agree M/S are annoying but I really like the vertical tabs feature, which is only in Edge I think)

Extra info

After reading your message I did some additional checking (hopefully this helps)...

How to reset?

Dark-Obsidian commented 1 year ago

Extra: Local Webdriver version info...

I was moving some files in my %AppData% folder and noticed the new Webdriver folder (I guess this what SH uses?)...

webdriver

philpw99 commented 10 months ago

The new version 2.4.9 added a new function to let you choose the browser again. The error dialog will give you "Yes" "No" "Cancel" choice. Use "No", and next time Stash_Helper will let you choose a new browser. This time use Firefox. I am really fed up with Chrome and Edge.