I am doing some browser automation using Selenium and Chrome browser. I am facing the problem to extract the url generated dynamically by clicking an html button (which will open a new tab). This button has not the href attribute, the url is generated dynamically probably by some js script. Actually I am not interested to navigate this url, I just want to know the string value. What I would like to do is to simulate the button click and extract the url but without performing any navigation. Is this possible?