Skip to content

Commit 6dcc704

Browse files
committed
Project PEP8 and pipy ready refractor
1 parent 5ab572f commit 6dcc704

28 files changed

Lines changed: 320 additions & 749 deletions

.project

Lines changed: 0 additions & 17 deletions
This file was deleted.

.pydevproject

Lines changed: 0 additions & 8 deletions
This file was deleted.

dist/ingov-0.0.1-py3-none-any.whl

-3.02 KB
Binary file not shown.

dist/ingov-0.0.1.tar.gz

-2.08 KB
Binary file not shown.

ingov.egg-info/PKG-INFO

Lines changed: 0 additions & 53 deletions
This file was deleted.

ingov.egg-info/SOURCES.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

ingov.egg-info/dependency_links.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

ingov.egg-info/top_level.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

LICENSE renamed to pydesktopbrowerrecorder/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020, PyDesktopBrowserRecorder developers
1+
Copyright (c) 2022, PyDesktopBrowserRecorder developers
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

README.md renamed to pydesktopbrowerrecorder/README.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
This project allows you to record your desktop or the browser during an automated test using selenium's webdriver
33

44
You just have to make the following import:
5-
from videoRecorder import desktopBrowserRecorder
5+
from videoRecorder import SeleniumBrowserRecorder
66

7-
Then you create a DesktopBrowserRecorder object, you have two modes. You have to provide the following parameters:
8-
obj = desktopBrowserRecorder.DesktopBrowserRecorder(folder,encoding)
7+
Then you create a SeleniumBrowserRecorder object, you have two modes. You have to provide the following parameters:
8+
obj = desktopBrowserRecorder.SeleniumBrowserRecorder(folder,encoding)
99
- folder: Folder where we want to create the folder that will contain the videos for our recording session
1010
- encoding: Encoding of the video. We only assure that using ".mp4" will work
1111
This way, when you start the recording session, the desktop will be recorded until we stop the recording session
1212

1313
But you can also provide a third parameter:
14-
obj = desktopBrowserRecorder.DesktopBrowserRecorder(folder,encoding,driver)
14+
obj = desktopBrowserRecorder.SeleniumBrowserRecorder(folder,encoding,driver)
1515
- driver: A webdriver object
1616
In this case, we will record only the browser window(s) that are being controlled by that webdriver object
1717

@@ -25,14 +25,11 @@
2525

2626
NOTE: If we are recording a browser and the size of it changes, we will stop the current video and start a new one with the new
2727
size of the window
28-
29-
Also, in the package config we include the module checkConfiguration.py:
30-
This module contains the method checkConfiguration() that reads the file importedModules.txt in the same folder and checks the modules listed in every line of this file have been installed in our environment. These modules are needed to run this project successfully. In case one is not installed, the function will tell you how to install it. Also, the module calls this function so you would only have to run this module, but you could also call this function from your program if needed
31-
32-
Also we have a folder test that includes a module called demo.py that you can run to see how this works and how this was tested.
3328

3429
NOTE: This was developed using the following versions of the following external libraries:
35-
- imageio_ffmpeg = 0.4.1
36-
- imageio = 2.5.0
37-
- selenium = 3.141.0
38-
- pyautogui = 0.9.48
30+
- imageio_ffmpeg = 0.4.5
31+
- numpy~=1.22.2
32+
- imageio==2.15.0
33+
- PyAutoGUI~=0.9.53
34+
- selenium~=4.1.0
35+
- Pillow~=9.0.1

0 commit comments

Comments
 (0)