Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples/script_sample.py doesn't work #52

Closed
boakley opened this issue Mar 26, 2020 · 2 comments · Fixed by #61
Closed

examples/script_sample.py doesn't work #52

boakley opened this issue Mar 26, 2020 · 2 comments · Fixed by #61
Labels
bug Something isn't working

Comments

@boakley
Copy link

boakley commented Mar 26, 2020

The script_sample.py file doesn't work. It generates the following error because Pylenium() is missing some required arguments:

$ python examples/script_sample.py 
Traceback (most recent call last):
  File "examples/script_sample.py", line 22, in <module>
    main()
  File "examples/script_sample.py", line 13, in main
    py = Pylenium()
TypeError: __init__() missing 2 required positional arguments: 'config' and 'logger'

@ElSnoMan ElSnoMan added the bug Something isn't working label Mar 27, 2020
@ElSnoMan
Copy link
Owner

Good catch! I haven't updated the examples in a long time

@ElSnoMan
Copy link
Owner

ElSnoMan commented Apr 2, 2020

Removed stale examples and replaced with some initial examples since the docs do a much better job of going into detail with examples as well.

Fixed in next release

@ElSnoMan ElSnoMan linked a pull request Apr 5, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants