Posts by Hyperion • 26 points
3 posts
-
1
votes2
answers2493
viewsA: Error using Selenium Webdriver in Python
Follow the code I use: from selenium import webdriver self.driver = webdriver.Chrome('C:\\chromedriver.exe') self.driver.get("http://www.google.com") Use two bars in the path.…
-
0
votes1
answer1160
viewsA: How do I capture text from a web page with Selenium?
You can try: driver.FindElement(By.XPath("//div[@id='nome']")).text;
-
0
votes1
answer295
viewsA: Scraping using Selenium and Beautifulsoup
For log you can use the logger, it is better than print for this case. import logging logger = logging.getLogger(__name__) self.logger.warning('Aqui você coloca o texto do log')…