Quantcast
Channel: How to get pre formatted text preserving newlines using selenium Python? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Yosuva A for How to get pre formatted text preserving newlines...

Please check this. It might help you. from selenium import webdriver driver = webdriver.Chrome('/usr/local/bin/chromedriver') # Optional argument, if not specified will search path....

View Article



How to get pre formatted text preserving newlines using selenium Python?

I want to grab all the text inside a pre tag using Selenium Chrome driver in Python. Let's consider this Hacker Earth Submission link. Whenever I try to get the text...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images