Skip to content
forked from 2gis/contesto

Framework for writing functional selenium-based tests

License

Notifications You must be signed in to change notification settings

z00sts/contesto

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contesto

Build Status

Features

TODO

Installation

pip install -U git+https://github.com/2gis/contesto.git#egg=contesto

Quick start

  1. download selenium-server-standalone
  2. run it
java -jar selenium-server-standalone-2.45.0.jar
  1. run test
from contesto import ContestoTestCase

class TestExample(ContestoTestCase):
    def test_example(self):
        self.driver.get("http://google.com")

Simple configuration

In case you need some customization, for example, you prefer to run selenium server on port 9000 and you need to run tests using chrome

  • create config.ini
[Selenium]
host: localhost
port: 9000
browserName: chrome
  • add config.ini in test
from contesto import ContestoTestCase, config

config.add_config_file("config.ini")

class TestExample(ContestoTestCase):
    def test_example(self):
        self.driver.get("http://google.com")

Documentation

More information

About

Framework for writing functional selenium-based tests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%