Skip to content

Commit 1ba0462

Browse files
committed
Added dynamic user driver path
1 parent 5992431 commit 1ba0462

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Your Meeting Buddy/Gmeet_buddy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
username = str(input('Your Username:' )) # asking for mail id
1313
password = str(input('Your Password:' )) #asking for password
14+
Driver_path = str(input('Enter your path where the chrome drive is installed:' )) #Saving the path of chrome driver
1415

1516
#Providing camera and microphone access to the meeting
1617

@@ -26,7 +27,7 @@
2627
"profile.default_content_setting_values.media_stream_camera": 1,
2728
"profile.default_content_setting_values.notifications": 1
2829
})
29-
browser =webdriver.Chrome(chrome_options=opt,executable_path="C:\\Users\\path where your chrome driver is saved") #Enter the path of your chrome driver
30+
browser =webdriver.Chrome(chrome_options=opt,executable_path=Driver_path) #Entering the path of chrome driver
3031
browser.maximize_window()
3132
action=ActionChains(browser)
3233

0 commit comments

Comments
 (0)