I want to close browser using Sys.Desktop.Keys("^W") and it does not work. Any idea?
Go to Solution.
I'm all set using Sys.Desktop.Keys("^w")
View solution in original post
Initially which browser are you using? IE, Firefox or Chrome
Ctrl+W Using only for close the Tab. But you tried to close the browser completely
I checked in my IE(IE 9, Windows 7 Enterprise). Even it is not working(Ctrl+W) manually too
You can close the browser using browser method instead of passing Keys
So before Automate please check whether is it working manually.
same code is works for me. it is clossing a browser, but the condition is- browser should be activate on desktop.
if any other process is runing along with browser and your browser is not activated then its not close browser.