Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- driver.find_element_by_id('showcomment').click
- driver.find_element_by_link_text('Show more comments').click
- comments = driver.find_elements_by_class_name('gig-comment-body')
- authors = driver.find_elements_by_class_name('gig-comment-header-left')
- comments_list = list(zip([author.text for author in authors], [comment.text for comment in comments]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement