![]() Here’s how to get the HTML source for the full page: wd.page_source How to retrieve the HTML source of a web element using Selenium? Method 1 Now, here’s how to get a web element: elem = wd.find_element_by_css_selector('#my-id') Then run the pip command with the syntax given below to install Selenium.Ĭ:Python35Scriptspip.exe install selenium
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |