@armoredbanana I see the issue, if we observe the page while loading, initially it's 100% but after a certain delay, the actual value is showing up. This can be seen if you observe the firefox page while loading when it's opened from the script.
We can resolve this in two ways, first is to use time.sleep(3) before getting the element using driver.find_elements_by_xpath, the other option is to use Selenium-python waits.
I'll follow your steps and keep you posted with my results.
Meanwhile, you may want to check these out:
https://selenium-python.readthedocs.io/waits.html
https://stackoverflow.com/questions/26566799/wait-until-page-is-loaded-with-selenium-webdriver-for-python
You are viewing a single comment's thread from: