__load__.py 655 B

12345678910111213141516171819202122
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. """
  4. demeter service
  5. name:__load__.py
  6. author:rabin
  7. """
  8. import unittest
  9. import requests
  10. #from pyvirtualdisplay import Display
  11. from selenium import webdriver
  12. from time import sleep
  13. from selenium.webdriver.common.keys import Keys
  14. from selenium.webdriver.support.wait import WebDriverWait
  15. from selenium.webdriver.support import expected_conditions as EC
  16. from selenium.webdriver.common.by import By
  17. from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
  18. from demeter.core import *
  19. from product import *
  20. from gevent import monkey; monkey.patch_socket()
  21. import gevent
  22. import random