I used Python webrowser and opened Chrome, I want it to automatically enter username and password as shown in the picture and press "Sign In" to automatically enter the proxy. But I can't find a way yet. Here is my code snippet:
import webbrowser
url1 = 'google.com'
chorme_path = r'F:\Multichorme\theendnear1998\GoogleChromePortable.exe'
webbrowser.register('chorme', None, webbrowser.BackgroundBrowser(chorme_path))
webbrowser.get('chorme').open_new_tab(url1)
Is there a way to make it autofill?
This is the dialog that appears automatically every time I go online using a proxy
- Using selenium will have to operate on a completely new Chrome profile. While opening the webbrowser already provides the information.
- But the paradox here is that if using the webbrowser, it will be more difficult to fill in the login proxy information.