Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teaglebuilt/robotframework-seleniumproxy
Extension of SeleniumLibrary for RobotFramework. Adding functionality to the webdriver for capturing request/response data
https://github.com/teaglebuilt/robotframework-seleniumproxy
maninthemiddle proxy proxy-server python3 robotframework robotframework-library selenium selenium-webdriver
Last synced: 4 months ago
JSON representation
Extension of SeleniumLibrary for RobotFramework. Adding functionality to the webdriver for capturing request/response data
- Host: GitHub
- URL: https://github.com/teaglebuilt/robotframework-seleniumproxy
- Owner: teaglebuilt
- License: mit
- Created: 2020-02-21T15:34:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-17T12:04:47.000Z (about 3 years ago)
- Last Synced: 2024-09-29T02:05:56.516Z (5 months ago)
- Topics: maninthemiddle, proxy, proxy-server, python3, robotframework, robotframework-library, selenium, selenium-webdriver
- Language: Python
- Size: 2.18 MB
- Stars: 9
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# SeleniumProxy
![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2Fteaglebuilt)
![GitHub stars](https://img.shields.io/github/stars/teaglebuilt/robotframework-seleniumproxy?style=social)
![GitHub watchers](https://img.shields.io/github/watchers/teaglebuilt/robotframework-seleniumproxy?style=social)
![GitHub followers](https://img.shields.io/github/followers/teaglebuilt?style=social)![Build](https://github.com/teaglebuilt/robotframework-seleniumproxy/workflows/Python%20package/badge.svg)
![PyPI - Version](https://img.shields.io/pypi/v/robotframework-seleniumproxy)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/robotframework-seleniumproxy)A library for RobotFramework that extends [SeleniumLibrary](https://github.com/robotframework/SeleniumLibrary).
Project documentation and usage - [Keyword Documentation](https://teaglebuilt.github.io/robotframework-seleniumproxy/)
# What is it
SeleniumProxy inherits seleniums webdriver and captures all network activity generated by the webdriver. The webdriver stores data in a class with added keywords to interact with requests and responses.
Proxy Server is launched in the background with a proxy client added to the webdriver class that adds the methods needed to interact with the proxy server at run time.
[Pypi](https://pypi.org/project/robotframework-seleniumproxy/0.0.2/)
```
pip install robotframework-seleniumproxy
```
# How it works.
[Proxy2](https://github.com/inaz2/proxy2) runs the proxy server
[OpenSSL](https://github.com/inaz2/proxy2)OpenSSL is required for intercepting HTTPS connections.
```
brew install openssl
```Seleniums webdriver browser type is a class which is inherited and extended to give the webdriver the ability to create a client proxy and store the activity within the webdriver.
Robotframeworks seleniumlibrary is extended to add several keywords for creating the webdriver with the given functionality and still capable of using the keywords available
# CREDITS
Credits of code or ideas I have used in this project.
[Jani Mikkonen](http://github.com/rasjani)
- Log wrapper Keyword Decorator
- Packaging Automation[Will Keeling](https://github.com/wkeeling)
- Idea of Extending Selenium with Mixins to extend driver functionality