kaliiiiiiiiii / Selenium-Driverless

undetected Selenium without usage of chromedriver
https://kaliiiiiiiiii.github.io/Selenium-Driverless/
Other
520 stars 63 forks source link

proxy support #31

Closed jerusalemEG closed 1 year ago

jerusalemEG commented 1 year ago

i am sorry for say that but i am noob in python

import json
import requests
from selenium_profiles.webdriver import Chrome
from selenium_profiles.profiles import profiles
from selenium_driverless.webdriver import ChromeOptions
from selenium_driverless.types.by import By

profile = profiles.Windows()  # or .Android
profile["proxy"] = {
  "proxy":""
  }
options = ChromeOptions()

driver = Chrome(profile, options=options, driverless_options=True)

that's my code how i can support proxy please

kaliiiiiiiiii commented 1 year ago

I allready answered your question in #30 The code you provided yhould be working fine. alternatively, you could also use https://github.com/kaliiiiiiiiii/Selenium-Injector Please don't open any new issues except if there's a bug.