Selenium With Proxy Returns Empty Website
I am having trouble getting a page source HTML out of a site with selenium through a proxy. Here is my code from selenium.webdriver.chrome.options import Options from selenium impo
Solution 1:
driver.page_source does not always return what you expect via selenium. It's likely NOT the full dom. This is documented in the selenium doc and in various SO answers, e.g.: https://stackoverflow.com/a/45247539/1387701
Selenium gives a best effort to provide the page source as it is fetched. Only highly dynamic pages this can often be limited in it's return.
Post a Comment for "Selenium With Proxy Returns Empty Website"