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

Add cookie kwarg to Ronin::Web::Browser::Agent initializer #20

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

CharlieWWW94
Copy link
Contributor

Addresses issue #17 by adding a cookie kwarg to set after browser initialization. Went with the singular cookie as the description of the issue suggested this would be used for the session cookie. Just let me know if this should support an array of cookies to set or, of course, if any other changes are required.

@postmodern postmodern added the feature New Feature label Jul 26, 2024
@postmodern postmodern added this to the 0.2.0 milestone Jul 26, 2024
@postmodern postmodern merged commit e95c7dc into ronin-rb:0.2.0 Jul 26, 2024
5 checks passed
@postmodern
Copy link
Member

Great idea. Singular makes sense for when you want to quickly initializing a single session cookie. I think we could also add cookies: or even cookie_file: as well.

@CharlieWWW94
Copy link
Contributor Author

CharlieWWW94 commented Jul 27, 2024

Great idea. Singular makes sense for when you want to quickly initializing a single session cookie. I think we could also add cookies: or even cookie_file: as well.

@postmodern If there are further features you would like added (such as the above) please let me know, or open some issues. Would be glad to work through them.

@postmodern
Copy link
Member

@CharlieWWW94 see #22 and #23. Issue #23 will help with implementing #17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants