A Selenium automatic test that visits every article on a site that uses WordPress with Newsup theme. It can be adapted to work with other themes by modifying XPath expressions. You need Java, IntelliJ IDEA, Chrome browser and ChromeDriver in c:\Program Files\chromedriver
folder to run it. You can choose if links leading to external sites should be visited too by changing the value of openExternal
variable in config.properties file. Put the name of the site you want to crawl as value of baseURL
variable. You can generate a .jar
file by clicking Build
/ Build Artifacts...
in IntelliJ IDEA. See also: How to build jars from IntelliJ properly?. The WordPress_Newsup_crawler.jar file will read the two parameters from properties file.
-
Notifications
You must be signed in to change notification settings - Fork 0
mareksuma1985/WordPress_Newsup_crawler
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Selenium automatic test that visits every article on WordPress site.