Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

DeprecationWarning: executable_path has been deprecated, please pass in a Service object

from selenium import webdriver
from selenium.webdriver.chrome.service import Service
ser = Service("C:chromedriver.exe")
op = webdriver.ChromeOptions()
s = webdriver.Chrome(service=ser, options=op)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pass #Service #object
ADD COMMENT
Topic
Name
1+5 =