'error webdriver python with selenium how i can fix it
from selenium import webdriver from webdriver_manager.chrome import ChromeDriverManager from selenium.webdriver.chrome.service import Service import time, dishelp from config import *
def Vote(token):
browser = webdriver.Chrome(ChromeDriverManager().install())
browser.get(discord_login)
browser.execute_script(login_script + f"login('{token}')")
time.sleep(2)
browser.get(topgg_login)
time.sleep(3)
authorize_btn = browser.find_element_by_css_selector(authorize_btn_css_selector)
authorize_btn.click()
time.sleep(3)
browser.get(topgg_vote)
time.sleep(10)
votebtn = browser.find_element_by_xpath(vote_btn_xpath)
votebtn.click()
time.sleep(3)
browser.close()
browser.quit()
with open('tokens.txt', 'r') as tokens: for token in tokens: token = token.split('\n') try: Vote(token[0]) except: pass
after i do that i run that i got this error
[17288:4764:0221/075937.703:ERROR:chrome_browser_main_extra_parts_metrics.cc(227)] START: ReportBluetoothAvailability(). If you don't see the END: message, this is crbug.com/1216328. [17288:4764:0221/075937.704:ERROR:chrome_browser_main_extra_parts_metrics.cc(230)] END: ReportBluetoothAvailability() [17288:4764:0221/075937.705:ERROR:chrome_browser_main_extra_parts_metrics.cc(235)] START: GetDefaultBrowser(). If you don't see the END: message, this is crbug.com/1216328. [17288:4764:0221/075937.727:ERROR:chrome_browser_main_extra_parts_metrics.cc(239)] END: GetDefaultBrowser()
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
