samedi 11 février 2017

Cannot get the elements of current page due to refresh refresh issue in chrome webdriver

I will try to be clear as much as I can. I am using chrome web driver and encountering the following issue: When login to a web page using selenium I am getting the first web page for putting username and password. I am automating it using selenium and configuring it to click submit. My issue is when the next page appears, it has exact same URL as the first one! In here it start to get complicated since in this page I require to put ID number that is changing the content of the page and adding download links. I require to download files from this page but when I am running: browser.get(url), the page gets refreshed to the page without the URL's (The ID that I put also refreshed) and I cannot select the required elements since it now contain the element of the page without the ID that I need. There is nothing regarding it on the web since this is rare behavior of web page. Can someone assist please? thanks.

Aucun commentaire:

Enregistrer un commentaire