Course Content
Selenium Project
Iterate Over Website and Click
driver.find_elements()
is a method in the selenium
library for Python that is used to locate one or more web elements on a web page. When a Python script calls driver.find_elements(by, value)
, selenium
will search for elements on the web page that match the specified by and value parameters and return a list of all matching elements.
Task
- Iterate over the length of
"a"
attributes in the webpage and print theirtext
; - Click on the 7-th element to access a specific project.
Thanks for your feedback!
driver.find_elements()
is a method in the selenium
library for Python that is used to locate one or more web elements on a web page. When a Python script calls driver.find_elements(by, value)
, selenium
will search for elements on the web page that match the specified by and value parameters and return a list of all matching elements.
Task
- Iterate over the length of
"a"
attributes in the webpage and print theirtext
; - Click on the 7-th element to access a specific project.