Closed revshell0 closed 3 years ago
Issue-Label Bot is automatically applying the label question
to this issue, with a confidence of 0.82. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
@nateshmbhat Below is the equivalent code snippet in Selenium.
from selenium import webdriver
PROXY = "http://localhost:8080"
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--proxy-server=%s' % PROXY)
driver = webdriver.Chrome(options=chrome_options)
driver.get("https://github.com")
If you can somehow incorporate this in webbot, maybe as an additional constructor, that would be awesome.
Something like:
from webbot import Browser
driver = Browser(proxy = "http://localhost:8080")
Please consider this request. Thanks!
Sure. Adding it. Thanks for the suggestion.
@nateshmbhat woahhhhh!!!! that was quick! thank you for the prompt action! I would definitely recommend this library to all my colleagues!
@nateshmbhat How can I configure a proxy to redirect the traffic through my specified location?
Say, I want the traffic to go through my Burp proxy tool hosted at http://localhost:8080, how do I make it happen?
This is one of the biggest requirements while doing QA (Quality Analysis) of a website.
Please advise. Thanks.