I am creating automated tests with Python's unittest, Selenium and PhantomJS. I will have them running by Jenkins. So the list of urls could be added to Jenkins.
I found that pytest can have tests getting urls from command line, as shown on https://www.blazemeter.com/blog/how-automate-testing-using-selenium-webdriver-jenkins-and-allure.
However, I am using unittest framework. The main reason of doing that is that I would be testing on menus, headers and footers on 500 web pages.
So, how can I get the urls from command line and then to put them in self.driver.get('urls_from_command_line')
?