How to check if the Web Adapter isRunning based on the StartPage URL
We have to automate a Web application that can be launched from different links (around 50). We are thinking of creating only one Web adapter and starting the web app by changing the url using "StartPage" property at runtime. If the link is already clicked we need to bring the app that was started previously. If its is not clicked then we need Start the web adapter with the clicked url.
The challenge however is, how do we keep track of the link that was started/clicked previously? Using IsRunning check on adaprer would return true for one default StartPage url if it is running.
Do we have to interrogate each link as different web adapters? This would be a maintenance nightmare. Please suggest.