Good day. Can you please tell me how to intercept the link in the element WebBrowser? Property Navigating (If yes, then please show a simple example of the condition, I can not find anything suitable). I need to make a simple condition for example: By clicking on any link we intercept the transition. If the link contains a word, then go. If not, then not.

Any ideas fellow experts?)

  • You can execute javascript, which will fulfill this condition. but you won't find out about it in your C # \ Powershell code - Senior Pomidor
  • if you have a button href, then you can get information from there - Senior Pomidor
  • In an infinite loop, follow the URL of the document. If you don’t like the URL, we return the old one - Egor Randomize

0