Hello Nauman Sheikh, I hope you are in good health. I read the article and found the article very effective. I had been in some trouble using Headless browser using selenium Webdriver. I am explaining here pointwise
- I had a link which is changed after few seconds and I need to fetch the changed url using selenium.
- Now I had added some time gap and then tried with driver.current_url to get the mapped url but I donot know for what reason I am not getting the current url. I had used time.sleep to put the delay
- If I am using the real browser there is no issue and current url is being fetched.
Sir, if you know anything how I can do this with the headless browser it would be good for me.
With Regards
Sanpreet Singh