With the Microsoft Power Automate Desktop (MPAD) , I am trying to interact with the following web page: "https://mydomain.anycountry.com.ru/"
To be able to load this page, you need to first open a vpn, but I am trying to detect when launching the browser on said url, if the page does not load, open the vpn program
but the MPAD does not allow me to interact when the page does not load (the vpn connection is closed) I tried to add the element of MPAD
`if the page contains the element`
but the MPAD does not allow me to select any element on the page
Also try to execute a javascript to detect in this case the "reload" button with the instruction:
bolean_var = document.body.contains(document.querySelector("#reload-button"));
return bolean_var;
I also do not understand why the page does not allow me to execute javascript when it is offline or the vpn connection is closed
I even try to run something like alert('hello World'); and it doesn't run either, I don't understand why
Any recommendation?
in summary:
I need to declare a condition if the page does not load open the vpn connection