We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from webbot import Browser driver = Browser() driver.go_to('https://www.google.com/') if driver.exists(tag='textarea', id='APjFqb', classname='gLFyf'): driver.click(tag='textarea', id='APjFqb', classname='gLFyf') driver.type('test text', clear=True, tag='textarea', id='APjFqb', classname='gLFyf') driver.press(driver.Key.ENTER) driver.scrolly(500) driver.execute_script('sleep(5000);') else: driver.close_current_tab()
error D:\webbot>browser.py Traceback (most recent call last): File "D:\webbot\browser.py", line 2, in driver = Browser() ^^^^^^^^^ File "D:\webbot\webbot\webbot.py", line 80, in init self.driver = webdriver.Chrome(executable_path=driverPath, options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: WebDriver.init() got an unexpected keyword argument 'executable_path'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
from webbot import Browser
driver = Browser()
driver.go_to('https://www.google.com/')
if driver.exists(tag='textarea', id='APjFqb', classname='gLFyf'):
driver.click(tag='textarea', id='APjFqb', classname='gLFyf')
driver.type('test text', clear=True, tag='textarea', id='APjFqb', classname='gLFyf')
driver.press(driver.Key.ENTER)
driver.scrolly(500)
driver.execute_script('sleep(5000);')
else:
driver.close_current_tab()
error
D:\webbot>browser.py
Traceback (most recent call last):
File "D:\webbot\browser.py", line 2, in
driver = Browser()
^^^^^^^^^
File "D:\webbot\webbot\webbot.py", line 80, in init
self.driver = webdriver.Chrome(executable_path=driverPath, options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WebDriver.init() got an unexpected keyword argument 'executable_path'
The text was updated successfully, but these errors were encountered: