Git Product home page Git Product logo

selenium-stuttgart-boerse's Introduction

Selenium-Stuttgart-Boerse

A Python program with Selenium module, to open "Stuttgart" Bond search, select criteria and output the result to a excel file. There are some dates calculated from the now with the datetime, and years are added or subtracted and the calculated dates are entered in the web page. THe excel file name contains the actural date. My idea was to run this program in certain intervals, automatically started y crontab, and then it would be "headless".

Bond_search.py is the main program, and to have more structure, 3 different modules are imported: config, web actions and locators

  1. config.py is the webdriver section in linux. the config1.py works for me in Windows. In Linux, I didn't have to download any Chromedriver, but in Windows version it was necessary.

  2. web_actions.py contains different functions, depending on whether id or xpath etc is used

  3. locators.py contains the "library" of different xpath or id's with a description of the field, as the XPath or id is not descriptive

I used the program in a virtual environment.

for installing the requirements.txt enter in terminal: pip install -r requirements.text

Note to myself: the virtual environment i created by entering in terminal: python3 -m venv venv

to start the virtual environment enter in terminal: source venv/bin/activate

selenium-stuttgart-boerse's People

Contributors

reinhardlenz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.