def __init__(self):
     self.wd = WebDriver(
         capabilities={"marionette": False},
         firefox_binary="/home/asteroid/programms/firefox/firefox",
     )
     self.session = SessionHelper(self)
     self.object = ObjectHelper(self)
 def __init__(self, browser):
     if browser == "firefox":
         self.wd = webdriver.Firefox(ff_profile)
     elif browser == "chrome":
         self.wd = webdriver.Chrome(options=chrome_profile)
     else:
         raise ValueError("Cannot recognize browser %s" % browser)
     self.wd.implicitly_wait(5)
     self.session = SessionHelper(self)
     self.search = SearchHelper(self)
Exemple #3
0
 def __init__(self, browser, base_url):
     if browser == "firefox":
         self.wd = webdriver.Firefox(capabilities={"marionette": False})
     elif browser == "chrome":
         self.wd = webdriver.Chrome()
     elif browser == "ie":
         self.wd = webdriver.Ie()
     else:
         raise ValueError("Unrecognized browser %s" % browser)
     self.session = SessionHelper(self)
     self.project = ProjectHelper(self)
     self.base_url = base_url
 def __init__(self, browser, base_url):
     if browser == 'firefox':
         self.wd = webdriver.Firefox()
     elif browser == 'chrome':
         self.wd = webdriver.Chrome()
     elif browser == 'ie':
         self.wd = webdriver.Ie()
     else:
         raise ValueError("Unrecognized browser %s" % browser)
     self.session = SessionHelper(self)
     self.project = ProjectHelper(self)
     self.base_url = base_url
 def __init__(self, browser, base_url):
     if browser == "firefox":
         self.wd = webdriver.Firefox()
     elif browser == "chrome":
         self.wd = webdriver.Chrome()
     elif browser == "ie":
         self.wd = webdriver.Ie()
     else:
         raise ValueError("Unrecognized browser %s" % browser)
     self.session = SessionHelper(self)
     self.group = GroupHelper(self)
     self.contact = ContactHelper(self)
     self.base_url = base_url
 def __init__(self, browser, base_url):
     #self.wd.implicitly_wait(5)
     if browser == "firefox":
         self.wd = webdriver.Firefox(capabilities={"marionette": False})
     elif browser == "chrome":
         self.wd = webdriver.Chrome()
     elif browser == "ie":
         self.wd = webdriver.Ie()
     elif browser == "safari":
         self.wd = webdriver.Safari()
     else:
         raise ValueError("Unrecognized browser '%s'" % browser)
     self.session = SessionHelper(self)
     self.group = GroupHelper(self)
     self.contact = ContactHelper(self)
     self.base_url = base_url
     self.wd.get(self.base_url)
Exemple #7
0
 def __init__(self, browser, config):
     if browser == 'firefox':
         self.wd = webdriver.Firefox()
     elif browser == 'chrome':
         self.wd = webdriver.Chrome()
     elif browser == 'ie':
         self.wd = webdriver.Ie()
     else:
         raise ValueError('Unrecognized browser %s' % browser)
     self.wd.implicitly_wait(5)
     self.session = SessionHelper(self)
     self.project = ProjectHelper(self)
     self.config = config
     self.baseUrl = config['web']['baseUrl']
     self.james = JamesHelper(self)
     self.signup = SignupHelper(self)
     self.mail = MailHelper(self)
     self.soap = SoapHelper(self)
 def __init__(self):
     self.wd = webdriver.Chrome()
     self.session = SessionHelper(self)
     self.registration = RegistrationHelper(self)