rafpyprog / Mobilenium

Mobilenium allows you to use Selenium and have access to status codes and HTTP headers, without the need for manual labor.
Apache License 2.0
21 stars 4 forks source link

restructuring of the entire project to make imports work #6

Closed BallsyWalnuts closed 5 years ago

BallsyWalnuts commented 5 years ago

I came across this library while examining headless browsers for a use case here at work. I downloaded it and followed your README, attempting to import mobidriver from the mobilenium package, but was running into an import error. I found that I could only import the mobidriver module when my cwd was the git repo itself, which presents an issue to anyone using this lib.

I forked the code and took a look at it, and made some changes that I have confirmed make this library work as you have displayed it in your README.

There were several files that were not being used by the code in its current state; thus, I have deleted them, as they seem to have no current purpose. The final result of these changes leaves this project more clean and allows for importing and library use as it is defined in your docs.